Share via


RelationshipHasSource.GetLinks(DomainRelationship, DomainRole) Method

Definition

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

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::RelationshipHasSource ^> ^ 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.RelationshipHasSource> 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.RelationshipHasSource>
Public Shared Function GetLinks (source As DomainRelationship, target As DomainRole) As ReadOnlyCollection(Of RelationshipHasSource)

Parameters

target
DomainRole

Returns

Attributes

Applies to