Share via


SPFieldLink.Hidden Property

Gets or sets a Boolean value that specifies whether the field is displayed in forms that can be edited.

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 SPFieldLink
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 omitted; otherwise, false. The default value is false.

Remarks

When a field reference is hidden, the field is not displayed on forms. As a result, users cannot enter data or edit the content of the field. However, a hidden field can still be displayed in list views. Any user who has sufficient rights to manage the content type can change the field’s status from hidden to displayed.

See Also

Reference

SPFieldLink Class

SPFieldLink Members

Microsoft.SharePoint Namespace

Other Resources

Fields and Field References

Introduction to Columns

Introduction to Content Types