Condividi tramite


PathSegmentReferencesRole.GetLink Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetLink ( _
    source As PathSegment, _
    target As DomainRole _
) As PathSegmentReferencesRole
public static PathSegmentReferencesRole GetLink(
    PathSegment source,
    DomainRole target
)
public:
static PathSegmentReferencesRole^ GetLink(
    PathSegment^ source, 
    DomainRole^ target
)
static member GetLink : 
        source:PathSegment * 
        target:DomainRole -> PathSegmentReferencesRole
public static function GetLink(
    source : PathSegment, 
    target : DomainRole
) : PathSegmentReferencesRole

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole

.NET Framework Security

See Also

Reference

PathSegmentReferencesRole Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace