Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / TypeEx Class / IsNumericIntegral Method
Type.

In This Topic
    IsNumericIntegral Method (TypeEx)
    In This Topic
    Returns true if the type is any of the integral numeric data types: int, uint, long, ulong, short, ushort, sbyte and byte.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Shared Function IsNumericIntegral( _
       ByVal type As Type _
    ) As Boolean
    [Extension()]
    public static bool IsNumericIntegral( 
       Type type
    )

    Parameters

    type
    Type.

    Return Value

    True if the type is an integral numeric.
    See Also