Share via


DomainRoleHasPropertyAttributes.SetDomainRole Method

Definition

Sets DomainRole.

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

Parameters

element
ClrAttribute
newDomainRole
DomainRole
Attributes

Applies to