DomainRoleHasPropertyAttributes.SetDomainRole 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 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