WebBrowserNavigatingEventArgs(Uri, String) 建構函式

定義

初始化 WebBrowserNavigatingEventArgs 類別的新執行個體。

public:
 WebBrowserNavigatingEventArgs(Uri ^ url, System::String ^ targetFrameName);
public WebBrowserNavigatingEventArgs (Uri url, string targetFrameName);
public WebBrowserNavigatingEventArgs (Uri? url, string? targetFrameName);
new System.Windows.Forms.WebBrowserNavigatingEventArgs : Uri * string -> System.Windows.Forms.WebBrowserNavigatingEventArgs
Public Sub New (url As Uri, targetFrameName As String)

參數

url
Uri

Uri,表示 WebBrowser 控制項所巡覽至的文件位置。

targetFrameName
String

將載入新文件的 Web 網頁框架的名稱。

適用於

另請參閱