Compartilhar via


CodeGenerationUtilities.GetElementProperties Method

Returns all DomainProperties defined on the given DomainClass that will be serialized as nested XML element.

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

Syntax

'Declaração
Public Shared Function GetElementProperties ( _
    domainClass As DomainClass, _
    <OutAttribute> ByRef calculatedElementPropCount As Integer _
) As List(Of DomainProperty)
public static List<DomainProperty> GetElementProperties(
    DomainClass domainClass,
    out int calculatedElementPropCount
)
public:
static List<DomainProperty^>^ GetElementProperties(
    DomainClass^ domainClass, 
    [OutAttribute] int% calculatedElementPropCount
)
static member GetElementProperties : 
        domainClass:DomainClass * 
        calculatedElementPropCount:int byref -> List<DomainProperty> 
public static function GetElementProperties(
    domainClass : DomainClass, 
    calculatedElementPropCount : int
) : List<DomainProperty>

Parameters

  • calculatedElementPropCount
    Type: System.Int32%
    The number of calculated properties among the returned domain properties.

Return Value

Type: System.Collections.Generic.List<DomainProperty>
All DomainProperties defined on the given DomainClass that will be serialized as nested XML element. Empty list if none is found.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace