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
- 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.