Condividi tramite


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

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