次の方法で共有


ModelClientValidationRegexRule(String, String) コンストラクター

定義

この型/メンバーは、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。 ModelClientValidationRegexRule クラスの新しいインスタンスを初期化します。

public ModelClientValidationRegexRule (string errorMessage, string pattern);
new System.Web.Mvc.ModelClientValidationRegexRule : string * string -> System.Web.Mvc.ModelClientValidationRegexRule
Public Sub New (errorMessage As String, pattern As String)

パラメーター

errorMessage
String

例外メッセージです。

pattern
String

パターン。

適用対象