Condividi tramite


CodeGenerationUtilities.GetAttributeProperties Method

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

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 GetAttributeProperties ( _
    domainClass As DomainClass, _
    <OutAttribute> ByRef calculatedAttribPropCount As Integer _
) As List(Of DomainProperty)
public static List<DomainProperty> GetAttributeProperties(
    DomainClass domainClass,
    out int calculatedAttribPropCount
)
public:
static List<DomainProperty^>^ GetAttributeProperties(
    DomainClass^ domainClass, 
    [OutAttribute] int% calculatedAttribPropCount
)
static member GetAttributeProperties : 
        domainClass:DomainClass * 
        calculatedAttribPropCount:int byref -> List<DomainProperty> 
public static function GetAttributeProperties(
    domainClass : DomainClass, 
    calculatedAttribPropCount : int
) : List<DomainProperty>

Parameters

  • calculatedAttribPropCount
    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 XML attribute. Empty list if none is found.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace