Field.Hidden property

Gets or sets a value that specifies whether the field is hidden in list views and list forms.

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

Syntax

'Declaration
Public Property Hidden As Boolean
    Get
    Set
'Usage
Dim instance As Field
Dim value As Boolean

value = instance.Hidden

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

Property value

Type: System.Boolean
Returns Booleantrue if the field is hidden in list views and list forms; otherwise, returns false.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Value is changed to true on a field which cannot be hidden. Error code: -2146232832.

See also

Reference

Field class

Field members

Microsoft.SharePoint.Client namespace