共用方式為


SPField.ShowInViewForms property

取得或設定 Boolean 值,指定用來檢視清單資料的頁面中是否顯示 [] 欄位。

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

Syntax

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

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace