System.Web.UI.Design.UrlBuilder.BuildUrl Method

Creates a UI to create or pick a URL, using the specified System.Web.UI.Design.UrlBuilderOptions object.

Syntax

public static string BuildUrl (IServiceProvider serviceProvider, System.Windows.Forms.Control owner, string initialUrl, string caption, string filter, UrlBuilderOptions options)

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 System.Web.UI.Design.UrlBuilderOptions indicating the options for URL selection.

Returns

The URL returned from the UI.

Remarks

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

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0