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

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

PasswordRecovery.UserNameFailureText プロパティ

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

ユーザー入力したユーザー名Web サイト有効なユーザー名ではない場合表示するテキスト取得または設定します

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

<LocalizableAttribute(True)> _
Public Overridable Property
 UserNameFailureText As String
Dim instance As PasswordRecovery
Dim value As String

value = instance.UserNameFailureText

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

/** @property */
public void set_UserNameFailureText (String
 value)
public function get UserNameFailureText
 () : String

public function set UserNameFailureText
 (value : String)

プロパティ
ユーザー入力したユーザー名Web サイト有効なユーザー名ではない場合表示するテキスト既定値は、"個人情報アクセスできませんでしたもう一度やり直しください。" です。

解説解説
使用例使用例

UserNameFailureText プロパティ設定するコード例次に示します設定値は "We couldn't find that user name.Please try again." です。

<%@ Page Language="VB" %>
<script runat="server">

    ' Insert page code here
    '

</script>
<html>
<head>
</head>
<body>
    <form runat="server">
        <asp:PasswordRecovery id="PasswordRecovery1"
 runat="server" 
            GeneralFailureText="You password cannot be retrieved
 at this time. Please try again later." 
            QuestionFailureText="Your answer does not match the
 stored answer. Please try again." 
            UserNameFailureText="We couldn't find that user name.
 Please try again.">
            <FailureTextStyle backcolor="Red" forecolor="White"></FailureTextStyle>
        </asp:PasswordRecovery>
        <!-- Insert content here -->
    </form>
</body>
</html>
<%@ Page Language="C#" %>
<script runat="server">
</script>
<html>
<head>
</head>
<body>
    <form runat="server">
        <asp:PasswordRecovery id="PasswordRecovery1" runat="server"
 
            GeneralFailureText="You password cannot be retrieved at this
 time. Please try again later." 
            QuestionFailureText="Your answer does not match the stored answer.
 Please try again." 
            UserNameFailureText="We couldn't find that user name. Please try
 again.">
            <FailureTextStyle backcolor="Red" forecolor="White"></FailureTextStyle>
        </asp:PasswordRecovery>
    </form>
</body>
</html>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS