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
value
Type: System.ObjectThe decimal value to validate.
Return Value
Type: System.String
The text representation of value. Returns [System.String.Empty] if value is null or not a valid decimal value.