共用方式為


EnumerationHasLiterals.GetLinks Method

Get any EnumerationHasLiterals links between a given DomainEnumeration and 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 GetLinks ( _
    source As DomainEnumeration, _
    target As EnumerationLiteral _
) As ReadOnlyCollection(Of EnumerationHasLiterals)
public static ReadOnlyCollection<EnumerationHasLiterals> GetLinks(
    DomainEnumeration source,
    EnumerationLiteral target
)
public:
static ReadOnlyCollection<EnumerationHasLiterals^>^ GetLinks(
    DomainEnumeration^ source, 
    EnumerationLiteral^ target
)
static member GetLinks : 
        source:DomainEnumeration * 
        target:EnumerationLiteral -> ReadOnlyCollection<EnumerationHasLiterals> 
public static function GetLinks(
    source : DomainEnumeration, 
    target : EnumerationLiteral
) : ReadOnlyCollection<EnumerationHasLiterals>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<EnumerationHasLiterals>

.NET Framework Security

See Also

Reference

EnumerationHasLiterals Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace