Udostępnij za pośrednictwem


PresentationViewsSubject.GetLinks(PresentationElement, ModelElement) Method

Definition

Get any PresentationViewsSubject links between a given PresentationElement and a ModelElement.

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

Parameters

target
ModelElement

Returns

Attributes

Applies to