CodeGenerationUtilities.GetPropertyRepresentation Method

Get the PropertyRepresentation (Attribute, Element, or Ignored) of the given DomainProperty. Default is Attribute if not specified.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetPropertyRepresentation ( _
    domainProperty As DomainProperty _
) As XmlPropertyRepresentation
public static XmlPropertyRepresentation GetPropertyRepresentation(
    DomainProperty domainProperty
)
public:
static XmlPropertyRepresentation GetPropertyRepresentation(
    DomainProperty^ domainProperty
)
static member GetPropertyRepresentation : 
        domainProperty:DomainProperty -> XmlPropertyRepresentation
public static function GetPropertyRepresentation(
    domainProperty : DomainProperty
) : XmlPropertyRepresentation

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyRepresentation
The PropertyRepresentation of the given DomainProperty.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace