rice クラス : IsKeyword(string) メソッド
説明
引数文字列が、キーワードであるかどうかを示す値を取得します。
構文
riceInstance.IsKeyword(string search)
引数
クラス | 名前 | 説明 |
string | search | 検索する文字列。 |
返り値
クラス | 説明 |
bool | 引数文字列が、キーワードであるかどうかを示す値。 |
サンプルコード
//anyRiceはrice型のインスタンス.
bool keyword = anyRice.IsKeyword("class");
注意
無し
参照リンク
無し