ComponentOne FinancialChart for WPF
IsNumeric Method



C1.WPF Namespace > TypeEx Class : IsNumeric Method
Type.
Returns true if the type is any of the numeric data types: double, float, int, uint, long, ulong, short, ushort, sbyte, byte and decimal.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function IsNumeric( _
   ByVal type As Type _
) As Boolean
'Usage
 
Dim type As Type
Dim value As Boolean
 
value = TypeEx.IsNumeric(type)
[Extension()]
public static bool IsNumeric( 
   Type type
)
[Extension()]
public:
static bool IsNumeric( 
   Type^ type
) 

Parameters

type
Type.

Return Value

True if the type is numeric.
See Also

Reference

TypeEx Class
TypeEx Members