CodeGenerationUtilities.GetPropertyRepresentation(DomainProperty) 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.
Get the PropertyRepresentation (Attribute, Element, or Ignored) of the given DomainProperty. Default is Attribute if not specified.
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
Parameters
- domainProperty
- DomainProperty
DomainProperty whose PropertyRepresentation will be returned.
Returns
The PropertyRepresentation of the given DomainProperty.