Input for WinForms | ComponentOne
C1.Win.Input Namespace / CharHelper Class / IsCharOfType Method
A Unicode character.
A CharType type.

In This Topic
    IsCharOfType Method
    In This Topic
    Determines whether the specified character is of the specified type.
    Syntax
    'Declaration
     
    
    Public Shared Function IsCharOfType( _
       ByVal c As Char, _
       ByVal type As CharTypes _
    ) As Boolean
    public static bool IsCharOfType( 
       char c,
       CharTypes type
    )

    Parameters

    c
    A Unicode character.
    type
    A CharType type.

    Return Value

    true if specified c and type matches the type of the character; otherwise false.
    See Also