CodeGenerationUtilities.GetNameProperty(DomainClass) 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.
Return a property (in this or a base class) that can be used to idenfify an element to the user. Returns the property marked IsElementName. If there is none, returns the property marked IsMonikerKey. If there is none, returns null.
public:
static Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^ GetNameProperty(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass);
public static Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty GetNameProperty (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass);
static member GetNameProperty : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
Public Shared Function GetNameProperty (domainClass As DomainClass) As DomainProperty
Parameters
- domainClass
- DomainClass