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)

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