Partager via


AttributedDomainElementHasAttributes.GetLinks Method

Get any AttributedDomainElementHasAttributes links between a given AttributedDomainElement and a ClrAttribute.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetLinks ( _
    source As AttributedDomainElement, _
    target As ClrAttribute _
) As ReadOnlyCollection(Of AttributedDomainElementHasAttributes)
public static ReadOnlyCollection<AttributedDomainElementHasAttributes> GetLinks(
    AttributedDomainElement source,
    ClrAttribute target
)
public:
static ReadOnlyCollection<AttributedDomainElementHasAttributes^>^ GetLinks(
    AttributedDomainElement^ source, 
    ClrAttribute^ target
)
static member GetLinks : 
        source:AttributedDomainElement * 
        target:ClrAttribute -> ReadOnlyCollection<AttributedDomainElementHasAttributes> 
public static function GetLinks(
    source : AttributedDomainElement, 
    target : ClrAttribute
) : ReadOnlyCollection<AttributedDomainElementHasAttributes>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

AttributedDomainElementHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace