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
- domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
.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.