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
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
DomainProperty whose PropertyRepresentation will be returned.
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyRepresentation
The PropertyRepresentation of the given DomainProperty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.