SPFieldChoice class
SharePoint 2013
Represents a choice field.
System.Object
Microsoft.SharePoint.SPField
Microsoft.SharePoint.SPFieldMultiChoice
Microsoft.SharePoint.SPFieldChoice
Microsoft.SharePoint.Applications.GroupBoard.SPFieldContactInformation
Microsoft.SharePoint.Applications.GroupBoard.SPFieldWhereabout
Microsoft.SharePoint.OutcomeChoiceField
Microsoft.SharePoint.SPFieldModStat
Microsoft.SharePoint.SPFieldWorkflowStatus
Microsoft.SharePoint.SPField
Microsoft.SharePoint.SPFieldMultiChoice
Microsoft.SharePoint.SPFieldChoice
Microsoft.SharePoint.Applications.GroupBoard.SPFieldContactInformation
Microsoft.SharePoint.Applications.GroupBoard.SPFieldWhereabout
Microsoft.SharePoint.OutcomeChoiceField
Microsoft.SharePoint.SPFieldModStat
Microsoft.SharePoint.SPFieldWorkflowStatus
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
If you set properties of the SPFieldChoice class you must call the Update method for changes to take effect in the database.
An SPFieldChoice object can be rendered through the BaseChoiceField server control.
The SPFieldChoice class corresponds to the Choice data type that is specified through the Type attribute of the Field element.
Notes to inheritorsIn SharePoint Foundation, columns based on custom field types are read-only in Datasheet view.
Show: