Partilhar via


SPMobileChoiceField.ReadOnly Property

Gets a value that indicates whether the field is read only.

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

Syntax

'Declaration
Public Overrides ReadOnly Property ReadOnly As Boolean
    Get
'Usage
Dim instance As SPMobileChoiceField
Dim value As Boolean

value = instance.ReadOnly
public override bool ReadOnly { get; }

Property Value

Type: System.Boolean
true if the field is read only; otherwise, false. The default is false.

Remarks

This override returns true even on an Edit page if the field's value cannot be filled in and OptionCount exceeds the value of OptionNumberLimit.

See Also

Reference

SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace