PathSegmentReferencesRole.GetRole Method
Gets Role.
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 GetRole ( _
element As PathSegment _
) As DomainRole
public static DomainRole GetRole(
PathSegment element
)
public:
static DomainRole^ GetRole(
PathSegment^ element
)
static member GetRole :
element:PathSegment -> DomainRole
public static function GetRole(
element : PathSegment
) : DomainRole
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
.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.