Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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: ReadOnlyCollection<EnumerationHasAttributes>

.NET Framework Security

See Also

Reference

EnumerationHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace