Share via


CodeGenerationUtilities.GetElementProperties(DomainClass, Int32) Method

Definition

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

public:
 static System::Collections::Generic::List<Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^> ^ GetElementProperties(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, [Runtime::InteropServices::Out] int % calculatedElementPropCount);
public static System.Collections.Generic.List<Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty> GetElementProperties (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, out int calculatedElementPropCount);
static member GetElementProperties : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * int -> System.Collections.Generic.List<Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty>
Public Shared Function GetElementProperties (domainClass As DomainClass, ByRef calculatedElementPropCount As Integer) As List(Of DomainProperty)

Parameters

domainClass
DomainClass

>DomainClass whose domain properties that are seralized as nested XML elements will be returned.

calculatedElementPropCount
Int32

The number of calculated properties among the returned domain properties.

Returns

All DomainProperties defined on the given DomainClass that will be serialized as nested XML element. Empty list if none is found.

Applies to