ComponentOne FinancialChart for WPF
C1.WPF Namespace / TypeEx Class / IsNumericIntegral Method
Type.



In This Topic
    IsNumericIntegral Method
    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
    'Usage
     
    
    Dim type As Type
    Dim value As Boolean
     
    value = TypeEx.IsNumericIntegral(type)
    [Extension()]
    public static bool IsNumericIntegral( 
       Type type
    )
    [Extension()]
    public:
    static bool IsNumericIntegral( 
       Type^ type
    ) 

    Parameters

    type
    Type.

    Return Value

    True if the type is an integral numeric.
    See Also