Udostępnij za pośrednictwem


PathSegmentReferencesRole.GetRole(PathSegment) Method

Definition

Gets Role.

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ GetRole(Microsoft::VisualStudio::Modeling::DslDefinition::PathSegment ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole GetRole (Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetRole : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment -> Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Public Shared Function GetRole (element As PathSegment) As DomainRole

Parameters

element
PathSegment

Returns

Attributes

Applies to