다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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