DomainRoleHasPropertyAttributes.GetDomainRole(ClrAttribute) 方法

定义

获取 DomainRole。

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ GetDomainRole(Microsoft::VisualStudio::Modeling::DslDefinition::ClrAttribute ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole GetDomainRole (Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetDomainRole : Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute -> Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Public Shared Function GetDomainRole (element As ClrAttribute) As DomainRole

参数

element
ClrAttribute

返回

DomainRole
属性

适用于