DirectorySearcher.Sort Property
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.
Gets or sets a value indicating the property on which the results are sorted.
public:
property System::DirectoryServices::SortOption ^ Sort { System::DirectoryServices::SortOption ^ get(); void set(System::DirectoryServices::SortOption ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public System.DirectoryServices.SortOption Sort { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
[System.DirectoryServices.DSDescription("DSSort")]
public System.DirectoryServices.SortOption Sort { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
member this.Sort : System.DirectoryServices.SortOption with get, set
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
[<System.DirectoryServices.DSDescription("DSSort")>]
member this.Sort : System.DirectoryServices.SortOption with get, set
Public Property Sort As SortOption
Property Value
A SortOption object that specifies the property and direction that the search results should be sorted on.
- Attributes
Exceptions
The property value is null
(Nothing in Visual Basic).
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.