共用方式為


SPField.ShowInVersionHistory property

取得或設定 Boolean 值,指定欄位是否會顯示在檢視清單項目版本的頁面。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property ShowInVersionHistory As Boolean
    Get
    Set
'用途
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否則,請false。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace