CodeGenerationUtilities.SortProperties(IList<DomainProperty>) 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.
Sort DomainProperties based on XmlElement.Order (if specified). By default, the order of each property is 0. Properties with smaller order will appear first. Properties of the same order will not be sorted (i.e. they'll keep their relative order after sorting). The sorting is in-place, so the passed-in collection will be changed directly.
public:
static void SortProperties(System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^> ^ props);
public static void SortProperties (System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty> props);
static member SortProperties : System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty> -> unit
Public Shared Sub SortProperties (props As IList(Of DomainProperty))
Parameters
- props
- IList<DomainProperty>
Properties to be sorted.