RelationshipHasTarget.GetLinks(DomainRelationship, DomainRole) Method

Definition

Get any RelationshipHasTarget links between a given DomainRelationship and a DomainRole.

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

Parameters

target
DomainRole

Returns

Attributes

Applies to