This documentation is archived and is not being maintained.

UrlBuilder::BuildUrl Method (IServiceProvider, Control, String, String, String, UrlBuilderOptions)

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)

public:
static String^ BuildUrl(
	IServiceProvider^ serviceProvider, 
	Control^ owner, 
	String^ initialUrl, 
	String^ caption, 
	String^ filter, 
	UrlBuilderOptions options
)

Parameters

serviceProvider
Type: System::IServiceProvider
The IServiceProvider to be used to access design-time services.
owner
Type: System.Windows.Forms::Control
The System.Windows.Forms::Control used as the parent for the picker window.
initialUrl
Type: System::String
The initial URL to be shown in the picker window.
caption
Type: System::String
The caption of the picker window.
filter
Type: System::String
The filter string to use to optionally filter the files displayed in the picker window.
options
Type: System.Web.UI.Design::UrlBuilderOptions
A UrlBuilderOptions indicating the options for URL selection.

Return Value

Type: System::String
The URL returned from the UI.

The IServiceProvider interface is used to obtain the IDesignerHost implementation for the designer host.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: