本文整理匯總了VB.NET中System.Web.UI.Design.UrlBuilder.BuildUrl方法的典型用法代碼示例。如果您正苦於以下問題:VB.NET UrlBuilder.BuildUrl方法的具體用法?VB.NET UrlBuilder.BuildUrl怎麽用?VB.NET UrlBuilder.BuildUrl使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類System.Web.UI.Design.UrlBuilder
的用法示例。
在下文中一共展示了UrlBuilder.BuildUrl方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的VB.NET代碼示例。
示例1: launchUrlBuilder
' 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