Share via


PathSegmentReferencesRole.SetRole Method

Sets 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 Sub SetRole ( _
    element As PathSegment, _
    newRole As DomainRole _
)
public static void SetRole(
    PathSegment element,
    DomainRole newRole
)
public:
static void SetRole(
    PathSegment^ element, 
    DomainRole^ newRole
)
static member SetRole : 
        element:PathSegment * 
        newRole:DomainRole -> unit
public static function SetRole(
    element : PathSegment, 
    newRole : DomainRole
)

Parameters

.NET Framework Security

See Also

Reference

PathSegmentReferencesRole Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace