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