UrlBuilder クラス
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザーが URL を選択または作成できる URL エディターを起動します。 このクラスは継承できません。
public ref class UrlBuilder sealed
public sealed class UrlBuilder
type UrlBuilder = class
Public NotInheritable Class UrlBuilder
- 継承
-
UrlBuilder
次のコード例は、 メソッドを使用 BuildUrl して、デザイン時にメニュー コマンドから URL ビルダーを起動する方法を示しています。
// 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 );
// 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);
}
' 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
メソッドは BuildUrl 、URL を選択するためのユーザー インターフェイスを開始します。
Build |
URL を作成または選択するための UI を作成します。 |
Build |
指定した UrlBuilderOptions オブジェクトを使用して、URL を作成または選択するための UI を作成します。 |
Build |
指定した UrlBuilderOptions オブジェクトを使用して、URL を作成または選択するための UI を作成します。 |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
Get |
既定のハッシュ関数として機能します。 (継承元 Object) |
Get |
現在のインスタンスの Type を取得します。 (継承元 Object) |
Memberwise |
現在の Object の簡易コピーを作成します。 (継承元 Object) |
To |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |
製品 | バージョン |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。