DomainClassInfo.HasNameProperty Method

Indicates whether an element has a name.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Shared Function HasNameProperty ( _
    element As ModelElement _
) As Boolean
'Usage
Dim element As ModelElement 
Dim returnValue As Boolean 

returnValue = DomainClassInfo.HasNameProperty(element)
public static bool HasNameProperty(
    ModelElement element
)
public:
static bool HasNameProperty(
    ModelElement^ element
)
public static function HasNameProperty(
    element : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the element has a name; otherwise, false.

.NET Framework Security

See Also

Reference

DomainClassInfo Class

DomainClassInfo Members

Microsoft.VisualStudio.Modeling Namespace