UrlBuilder.BuildUrl Method (IComponent, Control, String, String, String, UrlBuilderOptions)
.NET Framework 2.0
Creates a UI to create or pick a URL, using the specified UrlBuilderOptions object.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public: static String^ BuildUrl ( IComponent^ component, Control^ owner, String^ initialUrl, String^ caption, String^ filter, UrlBuilderOptions options )
public static String BuildUrl ( IComponent component, Control owner, String initialUrl, String caption, String filter, UrlBuilderOptions options )
public static function BuildUrl ( component : IComponent, owner : Control, initialUrl : String, caption : String, filter : String, options : UrlBuilderOptions ) : String
Parameters
- component
The IComponent whose site is to be used to access design-time services.
- owner
The System.Windows.Forms.Control used as the parent for the picker window.
- initialUrl
The initial URL to be shown in the picker window.
- caption
The caption of the picker window.
- filter
The filter string to use to optionally filter the files displayed in the picker window.
- options
A UrlBuilderOptions indicating the options for URL selection.
Return Value
The URL returned from the UI.// 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 );
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: