Expand Minimize

AddFieldOptions enumeration

Specifies the control settings while adding a field.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

[FlagsAttribute]
public enum AddFieldOptions

Member nameDescription
DefaultValueEnumeration 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.
AddToDefaultContentTypeEnumeration 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.
AddToNoContentTypeEnumeration whose values specify that a new field must not be added to any other content type. The value = 2.
AddToAllContentTypesEnumeration 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.
AddFieldInternalNameHintEnumeration whose values specify adding an internal field name hint for the purpose of avoiding possible database locking or field renaming operations. The value = 8.
AddFieldToDefaultViewEnumeration 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.
AddFieldCheckDisplayNameEnumeration whose values specify to confirm that no other field has the same display name. The value = 32.
Show:
© 2014 Microsoft