SortOption Constructor (String^, SortDirection)

 

Initializes a new instance of the SortOption class, which contains the specified property name and specified sort direction.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
SortOption(
	String^ propertyName,
	SortDirection direction
)

Parameters

propertyName
Type: System::String^

The name of the property to sort by. The PropertyName property is set to this value.

direction
Type: System.DirectoryServices::SortDirection

One of the SortDirection values. The Direction property is set to this value.

.NET Framework
Available since 1.1
Return to top
Show: