EnumerationHasLiterals.GetLinkToEnumeration Method
Get the EnumerationHasLiterals link to a EnumerationLiteral.
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 ( _
literalInstance As EnumerationLiteral _
) As EnumerationHasLiterals
public static EnumerationHasLiterals GetLinkToEnumeration(
EnumerationLiteral literalInstance
)
public:
static EnumerationHasLiterals^ GetLinkToEnumeration(
EnumerationLiteral^ literalInstance
)
static member GetLinkToEnumeration :
literalInstance:EnumerationLiteral -> EnumerationHasLiterals
public static function GetLinkToEnumeration(
literalInstance : EnumerationLiteral
) : EnumerationHasLiterals
Parameters
- literalInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals
.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.