CreateUserWizardDesigner クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CreateUserWizardDesigner クラスの意味・解説 

CreateUserWizardDesigner クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

CreateUserWizard Web サーバー コントロールデザイン時の動作拡張します。

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

Public Class CreateUserWizardDesigner
    Inherits WizardDesigner
Dim instance As CreateUserWizardDesigner
public class CreateUserWizardDesigner : WizardDesigner
public ref class CreateUserWizardDesigner :
 public WizardDesigner
public class CreateUserWizardDesigner extends
 WizardDesigner
public class CreateUserWizardDesigner extends
 WizardDesigner
解説解説
使用例使用例

CreateUserWizardDesigner クラス拡張しエラーが発生した場合デバッグ情報デザイン サーフェイス表示するコード例次に示します

Imports System
Imports System.IO
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.Design.WebControls
Imports System.Web.UI.WebControls
Imports Examples.WebNet

Namespace Examples.WebNet
    ' Create a class that extends CreateUserWizardDesigner.
    Public Class MyCreateUserWizardDesigner
        Inherits CreateUserWizardDesigner

        ' This variable contains debugging information.
        Private debugInfo As String
 = "Useful information."

        ' Override the GetErrorDesignTimeHtml method to add some more
        ' information to the error message.
        Protected Overrides Function
 GetErrorDesignTimeHtml(ByVal e As Exception)
 As String
            ' Get the error message from the base class.
            Dim htmlStr As String
            htmlStr = MyBase.GetErrorDesignTimeHtml(e)

            ' Append the debugging information to it.
            htmlStr &= "<br>DebugInfo: "
 & debugInfo

            ' Return the error message.
            Return htmlStr
        End Function
    End Class

End Namespace
using System;
using System.IO;
using System.ComponentModel;
using System.Web.UI.WebControls;
using System.Web.UI;
using System.Web.UI.Design;
using System.Web.UI.Design.WebControls;
//using Examples.WebNet.Design;

namespace Examples.WebNet
{
    // Create a class that extends CreateUserWizardDesigner.
    public class MyCreateUserWizardDesigner
 : CreateUserWizardDesigner
    {
        // This variable contains debugging information.
        private string debugInfo = "Useful
 information.";
        
        // Override the GetErrorDesignTimeHtml method to add some more
        // information to the error message.
        protected override string GetErrorDesignTimeHtml(Exception
 e)
        {
            // Get the error message from the base class.
            string html = base.GetErrorDesignTimeHtml(e);
        
            // Append the debugging information to it.
            html += "<br>" + "DebugInfo: " + debugInfo;
        
            // Return the error message.
            return html;
        }
    }
}

前の例で定義したデザイナコントロール クラス関連付けるコード例次に示します

Imports System
Imports System.IO
Imports System.ComponentModel
Imports System.Web.UI.WebControls
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.Design.WebControls
Imports Examples.WebNet

Namespace Examples.WebNet
    ' Create a class that extends CreateUserWizard and uses
    ' MyCreateUserWizardDesigner as its designer.
    <Designer(GetType(Examples.WebNet.MyCreateUserWizardDesigner))>
 _
    Public Class MyCreateUserWizard
        Inherits CreateUserWizard
        ' Put your own code here
    End Class
End Namespace
using System;
using System.IO;
using System.ComponentModel;
using System.Web.UI.WebControls;
using System.Web.UI;
using System.Web.UI.Design;
using System.Web.UI.Design.WebControls;
//using Examples.WebNet;

namespace Examples.WebNet
{
    // Create a class that extends CreateUserWizard and uses
    // MyCreateUserWizardDesigner as its designer.

    [Designer(typeof(Examples.WebNet.MyCreateUserWizardDesigner))]
    public class MyCreateUserWizard : CreateUserWizard
    {
    }
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
継承階層継承階層
System.Object
   System.ComponentModel.Design.ComponentDesigner
     System.Web.UI.Design.HtmlControlDesigner
       System.Web.UI.Design.ControlDesigner
         System.Web.UI.Design.WebControls.CompositeControlDesigner
           System.Web.UI.Design.WebControls.WizardDesigner
            System.Web.UI.Design.WebControls.CreateUserWizardDesigner
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「CreateUserWizardDesigner クラス」の関連用語

CreateUserWizardDesigner クラスのお隣キーワード
検索ランキング

   

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



CreateUserWizardDesigner クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS