共用方式為


AttributeHasParameters.GetLinks(ClrAttribute, AttributeParameter) Method

Definition

Get any AttributeHasParameters links between a given ClrAttribute and a AttributeParameter.

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

Parameters

source
ClrAttribute

Returns

Attributes

Applies to