SortOption Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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.