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
)
public static String BuildUrl (
	IServiceProvider serviceProvider, 
	Control owner, 
	String initialUrl, 
	String caption, 
	String filter, 
	UrlBuilderOptions options
)
public static function BuildUrl (
	serviceProvider : IServiceProvider, 
	owner : Control, 
	initialUrl : String, 
	caption : String, 
	filter : String, 
	options : UrlBuilderOptions
) : String
Not applicable.

Parameters

serviceProvider

The IServiceProvider 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.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: