RegexRunner.CharInClass メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RegexRunner.CharInClass メソッドの意味・解説 

RegexRunner.CharInClass メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

CompileToAssembly メソッドで生成される Regex オブジェクトによって使用されます。文字が文字クラスに属しているかどうかを判断します。

名前空間: System.Text.RegularExpressions
アセンブリ: System (system.dll 内)
構文構文

Protected Shared Function
 CharInClass ( _
    ch As Char, _
    charClass As String _
) As Boolean
Dim ch As Char
Dim charClass As String
Dim returnValue As Boolean

returnValue = RegexRunner.CharInClass(ch, charClass)
protected static bool CharInClass
 (
    char ch,
    string charClass
)
protected:
static bool CharInClass (
    wchar_t ch, 
    String^ charClass
)
protected static boolean CharInClass (
    char ch, 
    String charClass
)
protected static function
 CharInClass (
    ch : char, 
    charClass : String
) : boolean

パラメータ

ch

テスト対象の文字。

charClass

文字クラスの内部名。

戻り値
ch パラメータが、charClass パラメータで指定した文字クラスに属している場合は true。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RegexRunner クラス
RegexRunner メンバ
System.Text.RegularExpressions 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

RegexRunner.CharInClass メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RegexRunner.CharInClass メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS