Επεξεργασία

Κοινή χρήση μέσω


SortOption Constructors

Definition

Overloads

SortOption()

Initializes a new instance of the SortOption() class.

SortOption(String, SortDirection)

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

SortOption()

Source:
SortOption.cs
Source:
SortOption.cs
Source:
SortOption.cs
Source:
SortOption.cs

Initializes a new instance of the SortOption() class.

public:
 SortOption();
public SortOption ();
Public Sub New ()

Applies to

SortOption(String, SortDirection)

Source:
SortOption.cs
Source:
SortOption.cs
Source:
SortOption.cs
Source:
SortOption.cs

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

public:
 SortOption(System::String ^ propertyName, System::DirectoryServices::SortDirection direction);
public SortOption (string propertyName, System.DirectoryServices.SortDirection direction);
new System.DirectoryServices.SortOption : string * System.DirectoryServices.SortDirection -> System.DirectoryServices.SortOption
Public Sub New (propertyName As String, direction As SortDirection)

Parameters

propertyName
String

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

direction
SortDirection

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

Applies to