Compartilhar via


DiagramRepresentsClass.GetLinks(Diagram, DomainClass) Method

Definition

Get any DiagramRepresentsClass links between a given Diagram and a DomainClass.

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

Parameters

source
Diagram
target
DomainClass

Returns

Attributes

Applies to