System.Character.TCharacter.IsSurrogate
Delphi
class function IsSurrogate(Surrogate: Char): Boolean; overload; inline; static;
class function IsSurrogate(Surrogate: UCS4Char): Boolean; overload; inline; static;
class function IsSurrogate(const S: string; Index: Integer): Boolean; overload; inline; static;
C++
static bool __fastcall IsSurrogate(System::WideChar Surrogate)/* overload */;
static bool __fastcall IsSurrogate(unsigned Surrogate)/* overload */;
static bool __fastcall IsSurrogate(const System::UnicodeString S, int Index)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Character.pas System.Character.hpp |
System.Character | TCharacter |
説明
UTF-16 文字が Unicode 仕様でサロゲートとして定義されているかどうかを判定します。
UTF-16 文字が Unicode 仕様でサロゲートとして定義されている場合は、true を返します。