Share via


NumberField.Value Property

Gets the value of the field as it appears in the UI.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Value As Object
    Get
'Usage
Dim instance As NumberField
Dim value As Object

value = instance.Value
public override Object Value { get; }

Property Value

Type: System.Object
A Object that represents the field value as it appears in the UI.

Remarks

When the ShowAsPercentage property (of the SPFieldNumber object that has the NumberField as its FieldRenderingControl property) is true, Value returns the value of the SPFieldNumber object divided by 100. Otherwise, it returns the value of the SPFieldNumber object.

See Also

Reference

NumberField Class

NumberField Members

Microsoft.SharePoint.WebControls Namespace