Share via


FieldMultiChoice class

Specifies a field that contains one or more values from a set of specified values.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Field
      Microsoft.SharePoint.Client.FieldMultiChoice
        Microsoft.SharePoint.Client.FieldChoice
        Microsoft.SharePoint.Client.FieldRatingScale

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

Syntax

'Declaration
Public Class FieldMultiChoice _
    Inherits Field
'Usage
Dim instance As FieldMultiChoice
public class FieldMultiChoice : Field

Remarks

The field value for the SPFieldMultiChoice class is contained in the SPFieldMultiChoiceValue class. For information about creating custom field value classes, see Custom Field Value Classes.

If you set properties of the SPFieldMultiChoice class, you must call the Update method for the changes to take effect in the database.

The SPFieldMultiChoice class corresponds to the MultiChoice data type that is specified through the Type attribute of the Field element.

Notes to inheritors

In SharePoint Foundation, columns based on custom field types are read-only in Datasheet view.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

FieldMultiChoice members

Microsoft.SharePoint.Client namespace