PathSegmentReferencesRole.SetRole(PathSegment, DomainRole) Method

Definition

Sets Role.

public:
 static void SetRole(Microsoft::VisualStudio::Modeling::DslDefinition::PathSegment ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ newRole);
[System.Diagnostics.DebuggerStepThrough]
public static void SetRole (Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole newRole);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetRole : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> unit
Public Shared Sub SetRole (element As PathSegment, newRole As DomainRole)

Parameters

element
PathSegment
newRole
DomainRole
Attributes

Applies to