Freigeben über


RelationshipHasRoles.GetLinks(DomainRelationship, DomainRole) Method

Definition

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

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

Parameters

target
DomainRole

Returns

Attributes

Applies to