Sorts a collection of elements.
Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
Sub Sort ( _
    vsCMSort As vsCMSort _
)
void Sort(
    vsCMSort vsCMSort
)
void Sort(
    vsCMSort vsCMSort
)
abstract Sort : 
        vsCMSort:vsCMSort -> unit 
function Sort(
    vsCMSort : vsCMSort
)
Parameters
- vsCMSort
 Type: Microsoft.VisualStudio.VCCodeModel.vsCMSort
 Optional. A vsCMSort value representing the type of sorting to be done (alphanumeric or position in source file).
.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.