EnumerationHasAttributes.GetLinkToEnumeration Method
Get the EnumerationHasAttributes link to a ClrAttribute.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣言
Public Shared Function GetLinkToEnumeration ( _
attributeInstance As ClrAttribute _
) As EnumerationHasAttributes
public static EnumerationHasAttributes GetLinkToEnumeration(
ClrAttribute attributeInstance
)
public:
static EnumerationHasAttributes^ GetLinkToEnumeration(
ClrAttribute^ attributeInstance
)
static member GetLinkToEnumeration :
attributeInstance:ClrAttribute -> EnumerationHasAttributes
public static function GetLinkToEnumeration(
attributeInstance : ClrAttribute
) : EnumerationHasAttributes
Parameters
- attributeInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes
.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.