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)

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