DomainClassInfo.HasNameProperty Method
Indicates whether an element has a name.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Shared Function HasNameProperty ( _
element As ModelElement _
) As Boolean
public static bool HasNameProperty(
ModelElement element
)
public:
static bool HasNameProperty(
ModelElement^ element
)
static member HasNameProperty :
element:ModelElement -> bool
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.