共用方式為


SPField.ShowInDisplayForm property

取得或設定 Boolean 值,指定是否顯示清單項目表單中顯示欄位。

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

Syntax

'宣告
Public Property ShowInDisplayForm As Nullable(Of Boolean)
    Get
    Set
'用途
Dim instance As SPField
Dim value As Nullable(Of Boolean)

value = instance.ShowInDisplayForm

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

Property value

Type: System.Nullable<Boolean>
若要指定欄位會顯示在表單中用來顯示清單項目 ; true否則,請false。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace