Versioned.IsNumeric Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns a Boolean value indicating whether an expression can be evaluated as a number.
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public Shared Function IsNumeric ( _
Expression As Object _
) As Boolean
public static bool IsNumeric(
Object Expression
)
Parameters
- Expression
Type: System.Object
Required. Object expression.
Return Value
Type: System.Boolean
Returns a Boolean value indicating whether an expression can be evaluated as a number.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.