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
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element to check.
Return Value
Type: System.Boolean
true if the element has a name; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.