次の方法で共有


SPFieldMultiChoice.Choices property

Gets the choices that are used in the multichoice field.

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

Syntax

'Declaration
Public ReadOnly Property Choices As StringCollection
    Get
'Usage
Dim instance As SPFieldMultiChoice
Dim value As StringCollection

value = instance.Choices
public StringCollection Choices { get; }

Property value

Type: System.Collections.Specialized.StringCollection
A collection that represents the choices.

Remarks

Unlike other display text, choice values are not supported by the multilingual user interface (MUI). They always display in the default language of the web site.

See also

Reference

SPFieldMultiChoice class

SPFieldMultiChoice members

Microsoft.SharePoint namespace