Condividi tramite


OrderField Constructor (String, OrderDirection)

NOTE: This API is now obsolete.

Initializes a new instance of the OrderField class based on the specified column name and sort direction.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Sub New ( _
    name As String, _
    direction As OrderDirection _
)
'Usage
Dim name As String
Dim direction As OrderDirection

Dim instance As New OrderField(name, direction)
[ObsoleteAttribute("Use the Lists web service instead.")]
public OrderField(
    string name,
    OrderDirection direction
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the column.

See Also

Reference

OrderField Class

OrderField Members

OrderField Overload

Microsoft.SharePoint.Dsp Namespace