RegexStringValidatorAttribute.Regex プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RegexStringValidatorAttribute.Regex プロパティの意味・解説 

RegexStringValidatorAttribute.Regex プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

正規表現検証実行するために使用される文字列取得します

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

使用例使用例

Regex プロパティ使用する方法の例を次に示します

Dim valBase As _
ConfigurationValidatorBase

Dim rstrValAttr As _
New RegexStringValidatorAttribute("\w+\S*")

' Get the regular expression string.
Dim regex As String = _
rstrValAttr.Regex
Console.WriteLine( _
"Regular expression: {0}", regex)
ConfigurationValidatorBase valBase;

RegexStringValidatorAttribute rstrValAttr =
new RegexStringValidatorAttribute(@"\w+\S*");

// Get the regular expression string.
string regex = rstrValAttr.Regex;
Console.WriteLine("Regular expression: {0}", regex);

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



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「RegexStringValidatorAttribute.Regex プロパティ」の関連用語

RegexStringValidatorAttribute.Regex プロパティのお隣キーワード
検索ランキング

   

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



RegexStringValidatorAttribute.Regex プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS