共用方式為


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

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

value = instance.Hidden

instance.Hidden = value
[RemoteAttribute]
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. The default value is

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