Char..::..IsLowSurrogate Method (String, Int32)
Indicates whether the Char object at the specified position in a string is a low surrogate.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static bool IsLowSurrogate( string s, int index )
<TemplateAttribute> _ Public Shared Function IsLowSurrogate ( _ s As String, _ index As Integer _ ) As Boolean
[TemplateAttribute] public: static bool^ IsLowSurrogate( String^ s, int^ index )
Parameters
- s
- Type: System..::..String
A string.
- index
- Type: System..::..Int32
The position of the character to evaluate in s.
Return Value
true if the numeric value of the specified character in the s parameter ranges from U+DC00 through U+DFFF; otherwise, false.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | s is null. |
System..::..ArgumentOutOfRangeException | index is not a position within s. |