CodeGenerationUtilities.GetPropertyRepresentation(DomainProperty) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定 DomainProperty (特性、元素或忽略) 的 PropertyRepresentation。 如果未指定,则默认值为 Attribute。
public:
static Microsoft::VisualStudio::Modeling::DslDefinition::XmlPropertyRepresentation GetPropertyRepresentation(Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^ domainProperty);
public static Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyRepresentation GetPropertyRepresentation (Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty domainProperty);
static member GetPropertyRepresentation : Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty -> Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyRepresentation
Public Shared Function GetPropertyRepresentation (domainProperty As DomainProperty) As XmlPropertyRepresentation
参数
- domainProperty
- DomainProperty
将返回其 PropertyRepresentation 的 DomainProperty。
返回
给定 DomainProperty 的 PropertyRepresentation。