Table of Contents

Enum AddFieldOptionsFlags

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Specifies the control settings while adding a field. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum AddFieldOptionsFlags

Fields

AddFieldCheckDisplayName = 32

Enumeration whose values specify to confirm that no other field has the same display name. The value = 32. ///

AddFieldInternalNameHint = 8

Enumeration whose values specify adding an internal field name hint for the purpose of avoiding possible database locking or field renaming operations.The value = 8.

AddFieldToDefaultView = 16

Enumeration whose values specify that a new field that is added to the specified list must also be added to the default list view.The value = 16.

AddToAllContentTypes = 4

Enumeration whose values specify that a new field that is added to the specified list must also be added to all content types in the site collection.The value = 4.

AddToDefaultContentType = 1

Enumeration whose values specify that a new field added to the list must also be added to the default content type in the site collection.The value = 1.

AddToNoContentType = 2

Enumeration whose values specify that a new field must not be added to any other content type.The value = 2.

DefaultValue = 0

Enumeration whose values specify that a new field added to the list must also be added to the default content type in the site collection.The value = 0.