Udostępnij za pośrednictwem


PathSegmentReferencesRole.GetLinks(PathSegment, DomainRole) Method

Definition

Get any PathSegmentReferencesRole links between a given PathSegment and a DomainRole.

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

Parameters

source
PathSegment
target
DomainRole

Returns

Attributes

Applies to