Share via


SPMobileNumberField.PostValue Property

Gets the value that the field will have after the next postback of the page.

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

Syntax

'Declaration
Public Overrides ReadOnly Property PostValue As Object
    Get
'Usage
Dim instance As SPMobileNumberField
Dim value As Object

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

Property Value

Type: System.Object
A Object that represents the value that the field will have after the next postback of the page.

Remarks

If the ShowAsPercentage property is false, the value of the PostValue property is the same as the value of the Value property. Otherwise, it is the value of the Value property divided by 100. This makes it possible for end users to enter the value as a whole number percentage, while the underlying SPFieldNumber (that is rendered by the SPMobileNumberFieldobject) stores the value as a fraction of the number 1.

See Also

Reference

SPMobileNumberField Class

SPMobileNumberField Members

Microsoft.SharePoint.MobileControls Namespace