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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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
domainProperty
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyDomainProperty 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.