Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPFieldMultiChoice class

Represents a choice field that allows multiple values.

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

public class SPFieldMultiChoice : SPField

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.

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