Compartilhar via


DomainClassInfo.HasNameProperty(ModelElement) Method

Definition

Gets whether given element has name property defined in its domain class.

public:
 static bool HasNameProperty(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public static bool HasNameProperty (Microsoft.VisualStudio.Modeling.ModelElement element);
static member HasNameProperty : Microsoft.VisualStudio.Modeling.ModelElement -> bool
Public Shared Function HasNameProperty (element As ModelElement) As Boolean

Parameters

element
ModelElement

Element to check.

Returns

True if element's domain class has element name property defined.

Exceptions

element is null.

Applies to