Partilhar via


PathSegmentReferencesRole.GetLinks Method

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

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

Syntax

'Declaração
Public Shared Function GetLinks ( _
    source As PathSegment, _
    target As DomainRole _
) As ReadOnlyCollection(Of PathSegmentReferencesRole)
public static ReadOnlyCollection<PathSegmentReferencesRole> GetLinks(
    PathSegment source,
    DomainRole target
)
public:
static ReadOnlyCollection<PathSegmentReferencesRole^>^ GetLinks(
    PathSegment^ source, 
    DomainRole^ target
)
static member GetLinks : 
        source:PathSegment * 
        target:DomainRole -> ReadOnlyCollection<PathSegmentReferencesRole> 
public static function GetLinks(
    source : PathSegment, 
    target : DomainRole
) : ReadOnlyCollection<PathSegmentReferencesRole>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PathSegmentReferencesRole>

.NET Framework Security

See Also

Reference

PathSegmentReferencesRole Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace