共用方式為


SPField.ShowInViewForms Property

Gets or sets a Boolean value that specifies whether the field is displayed in pages that are used to view list data.

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

Syntax

'Declaration
Public Property ShowInViewForms As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As SPField
Dim value As Nullable(Of Boolean)

value = instance.ShowInViewForms

instance.ShowInViewForms = value
public Nullable<bool> ShowInViewForms { get; set; }

Property Value

Type: System.Nullable<Boolean>
true to specify that the field is displayed in pages that are used to view list data; otherwise, false.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace