Input for WinForms | ComponentOne
C1.Util Namespace / CodeRange Class / IsSurrogatePair Method / IsSurrogatePair(String,Int32) Method
The text string for test.
The index of text.

In This Topic
    IsSurrogatePair(String,Int32) Method
    In This Topic
    Whether is pair of surrogate characters.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function IsSurrogatePair( _
       ByVal text As String, _
       ByVal idx As Integer _
    ) As Boolean
    public static bool IsSurrogatePair( 
       string text,
       int idx
    )

    Parameters

    text
    The text string for test.
    idx
    The index of text.

    Return Value

    true if is pair of surrogate characters, otherwise false.
    See Also