Field.Hidden 屬性
取得或設定值,指定是否在清單檢視和清單表單中隱藏欄位。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Property Hidden As Boolean
Get
Set
'用途
Dim instance As Field
Dim value As Boolean
value = instance.Hidden
instance.Hidden = value
public bool Hidden { get; set; }
屬性值
類型:System.Boolean
如果隱藏欄位的清單檢視和清單] 表單中;,傳回Booleantrue否則,傳回false。
例外狀況
例外狀況 | 條件 |
---|---|
[Microsoft.SharePoint.SPException] | 值會變更為true上無法隱藏的欄位。錯誤碼 ︰-2146232832。 |