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
'宣告
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.