共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
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