UrlBuilderとは? わかりやすく解説

UrlBuilder クラス

ユーザーが URL を選択または作成できる URL エディタを起動します。このクラスは継承できません。

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

Public NotInheritable Class
 UrlBuilder
public sealed class UrlBuilder
public final class UrlBuilder
解説解説
使用例使用例

BuildUrl メソッドを使用して、デザイン時にメニュー コマンドから URL ビルダを起動する方法を次のコード例に示します。

' This method handles the "Launch Url Builder UI" menu command.
' Invokes the BuildUrl method of the System.Web.UI.Design.UrlBuilder.
Private Sub launchUrlBuilder(ByVal
 sender As Object, ByVal
 e As EventArgs)
    ' Create a parent control.
    Dim c As New System.Windows.Forms.Control()
    c.CreateControl()

    ' Launch the Url Builder using the specified control
    ' parent, initial URL, empty relative base URL path,
    ' window caption, filter string and URLBuilderOptions value.
    UrlBuilder.BuildUrl( _
        Me.Component, _
        c, _
        "http://www.example.com", _
        "Select a URL", _
        "", _
        UrlBuilderOptions.None)
End Sub
// This method handles the "Launch Url Builder UI" menu command.
// Invokes the BuildUrl method of the System.Web.UI.Design.UrlBuilder.
private void launchUrlBuilder(object sender,
 EventArgs e)
{
    // Create a parent control.
    System.Windows.Forms.Control c = new System.Windows.Forms.Control();
            
    c.CreateControl();            
                
    // Launch the Url Builder using the specified control
    // parent, initial URL, empty relative base URL path,
    // window caption, filter string and URLBuilderOptions value.
    UrlBuilder.BuildUrl(
        this.Component, 
        c, 
        "http://www.example.com", 
        "Select a URL", 
        "", 
        UrlBuilderOptions.None);                      
}        
// Create a parent control.
System::Windows::Forms::Control^ c = gcnew System::Windows::Forms::Control;
c->CreateControl();

// Launch the Url Builder using the specified control
// parent, initial URL, empty relative base URL path,
// window caption, filter String* and URLBuilderOptions value.
UrlBuilder::BuildUrl( this->Component, c, "http://www.example.com",
 "Select a URL", "", UrlBuilderOptions::None );

継承階層継承階層
System.Object
  System.Web.UI.Design.UrlBuilder
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

UrlBuilder メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

UrlBuilder クラス
System.Web.UI.Design 名前空間
UrlBuilderOptions

その他の技術情報

Web フォームのデザイン時サポート

UrlBuilder メンバ

ユーザーが URL を選択または作成できる URL エディタを起動します。このクラスは継承できません。

UrlBuilder データ型で公開されるメンバを以下の表に示します。


パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

UrlBuilder クラス
System.Web.UI.Design 名前空間
UrlBuilderOptions

その他の技術情報

Web フォームのデザイン時サポート



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「UrlBuilder」の関連用語

UrlBuilderのお隣キーワード
検索ランキング

   

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



UrlBuilderのページの著作権

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

©2026 GRAS Group, Inc.RSS