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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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: Int32%The number of calculated properties among the returned domain properties.
Return Value
Type: 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.