 | ExtensionMethodskIsNumeric Method |
Determines whether the specified the value is numeric.
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static bool kIsNumeric(
this string theValue
)
<ExtensionAttribute>
Public Shared Function kIsNumeric (
theValue As String
) As Boolean
public:
[ExtensionAttribute]
static bool kIsNumeric(
String^ theValue
)
[<ExtensionAttribute>]
static member kIsNumeric :
theValue : string -> bool
Parameters
- theValue
- Type: SystemString
The value.
Return Value
Type:
BooleanTrue if string is numeric, else
falseUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also