Share via


OrderField Class

The OrderField class represents the column by which the result is ordered.

System.Object

   Microsoft.SharePoint.Dsp.OrderField

Public Constructors

The following table shows the constructors of the OrderField class and a brief description of each.

Name Description
OrderField() Initializes a new instance of the OrderField class.
OrderField(String, Microsoft.SharePoint.Dsp.OrderDirection) Initializes a new instance of the OrderField class based on the specified column name and sort direction.

Public Properties

The following table shows the properties of the OrderField class, the data type of each property, and a brief description of each.

Name Data type Description
Direction Microsoft.SharePoint.Dsp.OrderDirection Gets or sets the sort direction for the column by which the result is ordered.
Name String Gets or sets the name of the column by which the result is ordered.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Dsp

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)

Security: Code Access Security