다음을 통해 공유


DataResultBase.DefaultSortBy Property

Gets or sets the default column name by which to sort the results.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property DefaultSortBy As String
    Get
    Set
'Usage
Dim instance As DataResultBase
Dim value As String

value = instance.DefaultSortBy

instance.DefaultSortBy = value
public string DefaultSortBy { get; set; }

Property Value

Type: System.String
A string that contains the default sort-by column name.

See Also

Reference

DataResultBase Class

DataResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace