DomainClassInfo.HasNameProperty(ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.