SPMobileChoiceField.ChoiceField Property

Gets the field that the SPMobileChoiceField control is rendering.

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


Public Overridable ReadOnly Property ChoiceField As SPFieldChoice

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.


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

See Also


SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace