Compartilhar via


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 (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration AddFieldOptions
'Usage
Dim instance As AddFieldOptions
[FlagsAttribute]
public enum AddFieldOptions

Members

Member name Description
DefaultValue 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.
AddToDefaultContentType 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 Enumeration whose values specify that a new field must not be added to any other content type. The value = 2.
AddToAllContentTypes 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.
AddFieldInternalNameHint 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 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.
AddFieldCheckDisplayName Enumeration whose values specify to confirm that no other field has the same display name. The value = 32.

See Also

Reference

Microsoft.SharePoint.Client Namespace