Partilhar via


SPField.Hidden Property

Gets or sets a Boolean value that specifies whether the field is displayed in the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Hidden As Boolean
    Get
    Set
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.Hidden

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

Property Value

Type: System.Boolean
true if the field is hidden; otherwise, false.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace