Field.Hidden 属性
Gets or sets a value that specifies whether the field is hidden in list views and list forms.
命名空间: 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
Returns Booleantrue if the field is hidden in list views and list forms; otherwise, returns false.
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | Value is changed to true on a field which cannot be hidden. Error code: -2146232832. |