SPField.DefaultListField property

Gets a value that indicates whether to show the properties form of a file when it is uploaded to a document library.

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

Syntax

'Declaration
Public ReadOnly Property DefaultListField As Boolean
    Get
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.DefaultListField
public bool DefaultListField { get; }

Property value

Type: System.Boolean
true if the field that is being added to a library does not have a visible Properties form; otherwise, false. The default is false.

Remarks

Examples of additional fields:

  1. Show the Edit Properties form after upload.

Exclude from consideration any fields with DefaultListField set to true.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace