Partager via


EnumerationHasAttributes.GetLinks Method

Get any EnumerationHasAttributes links between a given DomainEnumeration and 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

'Déclaration
Public Shared Function GetLinks ( _
    source As DomainEnumeration, _
    target As ClrAttribute _
) As ReadOnlyCollection(Of EnumerationHasAttributes)
public static ReadOnlyCollection<EnumerationHasAttributes> GetLinks(
    DomainEnumeration source,
    ClrAttribute target
)
public:
static ReadOnlyCollection<EnumerationHasAttributes^>^ GetLinks(
    DomainEnumeration^ source, 
    ClrAttribute^ target
)
static member GetLinks : 
        source:DomainEnumeration * 
        target:ClrAttribute -> ReadOnlyCollection<EnumerationHasAttributes> 
public static function GetLinks(
    source : DomainEnumeration, 
    target : ClrAttribute
) : ReadOnlyCollection<EnumerationHasAttributes>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

EnumerationHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace