다음을 통해 공유


CodeGenerationUtilities.SortProperties Method

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.

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 Sub SortProperties ( _
    props As IList(Of DomainProperty) _
)
public static void SortProperties(
    IList<DomainProperty> props
)
public:
static void SortProperties(
    IList<DomainProperty^>^ props
)
static member SortProperties : 
        props:IList<DomainProperty> -> unit
public static function SortProperties(
    props : IList<DomainProperty>
)

Parameters

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace