Returns true if the type is any of the numeric data types:
double, float, int, uint, long, ulong, short, ushort, sbyte, byte and decimal.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public static bool IsNumeric( this Type type ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function IsNumeric ( _ type As Type _ ) As Boolean |
Parameters
- type
- Type: System..::..Type
Type.