SPMobileChoiceField.ChoiceField Property

Gets the field that the SPMobileChoiceField control is rendering.

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

Syntax

'Declaration
Public Overridable ReadOnly Property ChoiceField As SPFieldChoice
    Get
'Usage
Dim instance As SPMobileChoiceField
Dim value As SPFieldChoice

value = instance.ChoiceField
public virtual SPFieldChoice ChoiceField { get; }

Property Value

Type: Microsoft.SharePoint.SPFieldChoice
An SPFieldChoice that represents the field that is being rendered.

Remarks

Calling code should use this property instead of the inherited Field property because the cast from SPField to SPFieldChoice is already done.

See Also

Reference

SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace