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
- domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
>DomainClass whose domain properties that are seralized as nested XML elements will be returned.
- 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
- 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.