Compartilhar via


SPFieldChoice Class

The SPFieldChoice class represents a choice field.

System.Object

   Microsoft.SharePoint.SPField

      Microsoft.SharePoint.SPFieldMultiChoice

         Microsoft.SharePoint.SPFieldChoice

Public Properties

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

Name Data Type Description
EditFormat Microsoft.SharePoint.SPChoiceFormatType Determines whether to display the choice field as radio buttons or as a drop-down list.
Sortable Boolean Gets a Boolean value that indicates whether the 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