Partager via


FieldMultiChoice - Classe

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

Hiérarchie d’héritage

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Class FieldMultiChoice _
    Inherits Field
'Utilisation
Dim instance As FieldMultiChoice
public class FieldMultiChoice : Field

Remarques

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.

Remarques destinées aux héritiers

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

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

FieldMultiChoice - Membres

Microsoft.SharePoint.Client - Espace de noms