Delen via


CodeGenerationUtilities.GetNameProperty Method

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.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetNameProperty ( _
    domainClass As DomainClass _
) As DomainProperty
public static DomainProperty GetNameProperty(
    DomainClass domainClass
)
public:
static DomainProperty^ GetNameProperty(
    DomainClass^ domainClass
)
static member GetNameProperty : 
        domainClass:DomainClass -> DomainProperty
public static function GetNameProperty(
    domainClass : DomainClass
) : DomainProperty

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace