SPField.ShowInVersionHistory Property

Gets or sets a Boolean value that specifies whether the field is displayed in the page for viewing list item versions.

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

Syntax

'Declaration
Public Property ShowInVersionHistory As Boolean
    Get
    Set
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.ShowInVersionHistory

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

Property Value

Type: System.Boolean
true to specify that the field is displayed in the page for viewing list item versions; otherwise, false.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace