PathSegmentReferencesRole.GetLinkToRole Method
Get the PathSegmentReferencesRole link to a PathSegment.
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 GetLinkToRole ( _
pathSegmentInstance As PathSegment _
) As PathSegmentReferencesRole
public static PathSegmentReferencesRole GetLinkToRole(
PathSegment pathSegmentInstance
)
public:
static PathSegmentReferencesRole^ GetLinkToRole(
PathSegment^ pathSegmentInstance
)
static member GetLinkToRole :
pathSegmentInstance:PathSegment -> PathSegmentReferencesRole
public static function GetLinkToRole(
pathSegmentInstance : PathSegment
) : PathSegmentReferencesRole
Parameters
- pathSegmentInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.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.