SortOption Constructor (String, SortDirection)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: