Windows desktop applications
Collapse the table of content
Expand the table of content

SortObjectCommand Constructor

Creates a new instance of the SortObjectCommand class. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

Dim instance As New SortObjectCommand

public SortObjectCommand ()
public SortObjectCommand ()
public function SortObjectCommand ()

This cmdlet sorts objects in ascending or descending order based on the values of properties of the object. For more information about this cmdlet, see Sort-Object in the Microsoft TechNet Library.

For Help at the command line, type:

get-help sort-object


Target Platforms

© 2016 Microsoft