Share via


CodeGenerationUtilities.GetPropertyRepresentation(DomainProperty) Method

Definition

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.

Applies to