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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
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
- 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.