共用方式為


SPField.ShowInNewForm property

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

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

Syntax

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

value = instance.ShowInNewForm

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

Property value

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

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace