PathSegmentReferencesRole.SetRole(PathSegment, DomainRole) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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