IExtendedUIService.AddWebReference(Uri, Type) 方法

定義

將 Web 資源的參考新增至工作流程設計工具中的專案。

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,表示要提供專案存取之 Web 資源的「統一資源定位器」(URL)。 這個參數會以未初始化的狀態傳遞。

proxyClass
Type

當這個方法傳回時,會包含與 Web 資源關聯之 Proxy 類別的 Type。 這個參數會以未初始化的狀態傳遞。

傳回

DialogResult 值,這個值表示 [新增 Web 參考] 對話方塊的傳回值。

適用於