共用方式為


SPFieldTypeDefinition.Sortable property

取得布林值,這個值,指出是否可排序的欄位型別。

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

Syntax

'宣告
Public ReadOnly Property Sortable As Boolean
    Get
'用途
Dim instance As SPFieldTypeDefinition
Dim value As Boolean

value = instance.Sortable
public bool Sortable { get; }

Property value

Type: System.Boolean
true如果欄位型別是可排序 ;否則, false。

請參閱

參照

SPFieldTypeDefinition class

SPFieldTypeDefinition members

Microsoft.SharePoint namespace