共用方式為


PathSegmentReferencesRole.GetLink(PathSegment, DomainRole) Method

Definition

Get the one PathSegmentReferencesRole link between a given PathSegmentand a DomainRole.

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

Parameters

source
PathSegment
target
DomainRole

Returns

Attributes

Applies to