Compartilhar via


SPFieldMultiChoice Class

The SPFieldMultiChoice class represents a field that can contain multiple values.

System.Object

   Microsoft.SharePoint.SPField

      Microsoft.SharePoint.SPFieldMultiChoice

Public Methods

The following table shows the public methods of the SPFieldMultiChoice class and a brief description of each.

Name Description
Update Updates the database with changes made to the field.

Public Properties

The following table shows the public properties of the SPFieldMultiChoice class, the data type of each property, and a brief description of each.

Name Data Type Description
Choices System.Collections.Specialized.StringCollection Gets the choices used in the multichoice field.
FillInChoice Boolean Gets or sets a Boolean value that determines whether a text box for typing an alternative value is provided for the multichoice field.
Sortable Boolean Gets a Boolean value that indicates whether the multichoice field can be sorted.

Thread Safety

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

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security