共用方式為


RelationshipHasBaseRelationship.GetLinks Method

Definition

Get any RelationshipHasBaseRelationship links between a given DomainRelationship and a DomainRelationship.

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

Parameters

Returns

Attributes

Applies to