共用方式為


SPField.Hidden property

取得或設定 Boolean 值,指定是否顯示欄位清單中。

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

Syntax

'宣告
Public Property Hidden As Boolean
    Get
    Set
'用途
Dim instance As SPField
Dim value As Boolean

value = instance.Hidden

instance.Hidden = value
public bool Hidden { get; set; }

Property value

Type: System.Boolean
true欄位為隱藏 ; 如果否則,請false。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace