ComponentOne MultiSelect for WinForms
C1.Framework Namespace / CharHelper Class / IsControl Method / IsControl(String,Int32) Method
A string.
The character position in s.

In This Topic
    IsControl(String,Int32) Method
    In This Topic
    Indicates wether the character at the specified position in the specified string is a control code.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function IsControl( _
       ByVal s As String, _
       ByVal index As Integer _
    ) As Boolean
    public static bool IsControl( 
       string s,
       int index
    )

    Parameters

    s
    A string.
    index
    The character position in s.

    Return Value

    true if the character at position index in s is a control code; otherwise, false.
    See Also