Udostępnij za pośrednictwem


AttributedDomainElementHasAttributes.GetLinks Method

Definition

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

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::AttributedDomainElementHasAttributes ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::AttributedDomainElement ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::ClrAttribute ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement source, Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement * Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes>
Public Shared Function GetLinks (source As AttributedDomainElement, target As ClrAttribute) As ReadOnlyCollection(Of AttributedDomainElementHasAttributes)

Parameters

target
ClrAttribute

Returns

Attributes

Applies to