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

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

CreateUserWizard.InvalidQuestionErrorMessage プロパティ

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

入力したパスワード取得の質問が無効な場合に表示されるメッセージを取得または設定します。

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

<LocalizableAttribute(True)> _
Public Overridable Property
 InvalidQuestionErrorMessage As String
Dim instance As CreateUserWizard
Dim value As String

value = instance.InvalidQuestionErrorMessage

instance.InvalidQuestionErrorMessage = value
[LocalizableAttribute(true)] 
public virtual string InvalidQuestionErrorMessage
 { get; set; }
[LocalizableAttribute(true)] 
public:
virtual property String^ InvalidQuestionErrorMessage {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_InvalidQuestionErrorMessage ()

/** @property */
public void set_InvalidQuestionErrorMessage
 (String value)
public function get InvalidQuestionErrorMessage
 () : String

public function set InvalidQuestionErrorMessage
 (value : String)

プロパティ値
パスワード取得の質問が無効な場合に表示されるメッセージ。既定値は "有効な答えを入力してください。" です。コントロールの既定のテキストは、サーバーの現在のロケールに基づいてローカライズされます。

解説解説
使用例使用例

質問を英数字 a ~ z、A ~ Z、0 ~ 9 に制限するメンバシップ プロバイダの InvalidQuestionErrorMessage プロパティを変更するコード例を次に示します。実際のメンバシップ プロバイダは示されていません。

<%@ page language="VB"%>

<script runat="server">

</script>

<html>
<head runat="server">
    <title>CreateUserWizard InvalidQuestionErrorMessage sample</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:createuserwizard id="Createuserwizard1"
 runat="server"
        InvalidQuestionErrorMessage="Your question contains invalid
 characters. You question must contain only the letters a-z, A-Z and numbers 0-9.">
        <WizardSteps>
                <asp:CreateUserWizardStep ID="CreateUserWizardStep1"
 runat="server">
                </asp:CreateUserWizardStep>
                <asp:CompleteWizardStep ID="CompleteWizardStep1"
 runat="server">
                </asp:CompleteWizardStep>
            </WizardSteps>      
      </asp:createuserwizard>
    </div>
    </form>
</body>
</html>
<%@ page language="C#"%>

<script runat="server">

</script>

<html>
<head runat="server">
    <title>CreateUserWizard InvalidQuestionErrorMessage sample</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:createuserwizard id="Createuserwizard1" runat="server"
        InvalidQuestionErrorMessage="Your question contains invalid characters.
 You question must contain only the letters a-z, A-Z and numbers 0-9.">
                <WizardSteps>
                <asp:CreateUserWizardStep ID="CreateUserWizardStep1"
 runat="server">
                </asp:CreateUserWizardStep>
                <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
                </asp:CompleteWizardStep>
            </WizardSteps>
      </asp:createuserwizard>
    </div>
    </form>
</body>
</html>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



CreateUserWizard.InvalidQuestionErrorMessage プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS