語言

IExtendedUIService.AddWebReference(Uri, Type) 方法

定義

在工作流程設計器中為專案新增對網路資源的參考。

public:
 System::Windows::Forms::DialogResult AddWebReference([Runtime::InteropServices::Out] Uri ^ % url, [Runtime::InteropServices::Out] Type ^ % proxyClass);
public System.Windows.Forms.DialogResult AddWebReference(out Uri url, out Type proxyClass);
abstract member AddWebReference : Uri * Type -> System.Windows.Forms.DialogResult
Public Function AddWebReference (ByRef url As Uri, ByRef proxyClass As Type) As DialogResult

參數

url
Uri

當此方法回傳時,包含 Uri 代表提供專案存取的網路資源的通用資源定位符(URL)。 這個參數會未初始化傳遞。

proxyClass
Type

當此方法回傳時,包含 Type 與網路資源相關聯的代理類別。 這個參數會未初始化傳遞。

傳回

一個 DialogResult 表示 「新增網頁參考 」對話框回傳值的值。

適用於