文字列が 16 進エンコードかどうかを判断します。
Public Shared Function IsHexEncoding( _
ByVal pattern As String, _ ByVal index As Integer _) As Boolean
[C#]
public static bool IsHexEncoding(stringpattern,intindex);
[C++]
public: static bool IsHexEncoding(String* pattern,intindex);
[JScript]
public static function IsHexEncoding(
pattern : String,index : int) : Boolean;
パラメータ
- pattern
確認する文字列。 - index
pattern 内で 16 進エンコーディングを確認する位置。
戻り値
pattern が、指定された位置の 16 進エンコードの場合は true 。それ以外の場合は false 。
解説
IsHexEncoding メソッドは、文字列内のパターン "%hexhex" の後に続く 16 進エンコードを確認します。この "hex" は、0 ~ 9 の数字または A ~ F の文字です。大文字と小文字は区別されません。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard