CodeGenerationUtilities.GetAttributeProperties(DomainClass, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all DomainProperties defined on the given DomainClass that will be serialized as XML attribute.
public:
static System::Collections::Generic::List<Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^> ^ GetAttributeProperties(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, [Runtime::InteropServices::Out] int % calculatedAttribPropCount);
public static System.Collections.Generic.List<Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty> GetAttributeProperties (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, out int calculatedAttribPropCount);
static member GetAttributeProperties : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * int -> System.Collections.Generic.List<Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty>
Public Shared Function GetAttributeProperties (domainClass As DomainClass, ByRef calculatedAttribPropCount As Integer) As List(Of DomainProperty)
Parameters
- domainClass
- DomainClass
DomainClass whose domain properties that are seralized as XML attributes will be returned.
- calculatedAttribPropCount
- Int32
The number of calculated properties among the returned domain properties.
Returns
All DomainProperties defined on the given DomainClass that will be serialized as XML attribute. Empty list if none is found.