共用方式為


EnumerationHasLiterals.GetLink Method

Get the one EnumerationHasLiterals link between a given DomainEnumerationand 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 GetLink ( _
    source As DomainEnumeration, _
    target As EnumerationLiteral _
) As EnumerationHasLiterals
public static EnumerationHasLiterals GetLink(
    DomainEnumeration source,
    EnumerationLiteral target
)
public:
static EnumerationHasLiterals^ GetLink(
    DomainEnumeration^ source, 
    EnumerationLiteral^ target
)
static member GetLink : 
        source:DomainEnumeration * 
        target:EnumerationLiteral -> EnumerationHasLiterals 
public static function GetLink(
    source : DomainEnumeration, 
    target : EnumerationLiteral
) : EnumerationHasLiterals

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals

.NET Framework Security

See Also

Reference

EnumerationHasLiterals Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace