Compartilhar via


SPField.Sortable Property

Gets a Boolean value that determines whether the field can be sorted.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Overridable ReadOnly Property Sortable As Boolean
    Get
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.Sortable
[ClientCallableAttribute]
public virtual bool Sortable { get; }

Property Value

Type: System.Boolean
true if the field can be sorted; otherwise, false.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace