SPField.ShowInNewForm property

Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to create list items.

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

Syntax

'Declaration
Public Property ShowInNewForm As Nullable(Of Boolean)
    Get
    Set
'Usage
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 to specify that the field is displayed in the form that is used to create list items; otherwise, false.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace