Compartilhar via


BaseChoiceField.NumberOfChoices Property

Gets the number of possible values from which the user can choose a value for the field.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected ReadOnly Property NumberOfChoices As Integer
    Get
'Usage
Dim value As Integer

value = Me.NumberOfChoices
protected int NumberOfChoices { get; }

Property Value

Type: System.Int32
An Int32 representing the number of possible values from which the user can choose.

See Also

Reference

BaseChoiceField Class

BaseChoiceField Members

Microsoft.SharePoint.WebControls Namespace