Share via


SPFieldDecimal.GetValidatedString Method

Verifies an object parameter as a decimal type and parses the value to a string.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function GetValidatedString ( _
    value As Object _
) As String
'Usage
Dim instance As SPFieldDecimal
Dim value As Object
Dim returnValue As String

returnValue = instance.GetValidatedString(value)
public override string GetValidatedString(
    Object value
)

Parameters

Return Value

Type: System.String
The text representation of value. Returns [System.String.Empty] if value is null or not a valid decimal value.

See Also

Reference

SPFieldDecimal Class

SPFieldDecimal Members

Microsoft.SharePoint Namespace