Partilhar via


IVsAddWebReferenceDlg.AddWebReferenceDlg(String, Int32) Method

Definition

Displays the Add Web Reference dialog box, allowing the user to pick a Web reference URL.

public:
 int AddWebReferenceDlg([Runtime::InteropServices::Out] System::String ^ % pbstrWebReferenceUrl, [Runtime::InteropServices::Out] int % pfCancelled);
int AddWebReferenceDlg([Runtime::InteropServices::Out] std::wstring const & & pbstrWebReferenceUrl, [Runtime::InteropServices::Out] int & pfCancelled);
public int AddWebReferenceDlg (out string pbstrWebReferenceUrl, out int pfCancelled);
abstract member AddWebReferenceDlg : string * int -> int
Public Function AddWebReferenceDlg (ByRef pbstrWebReferenceUrl As String, ByRef pfCancelled As Integer) As Integer

Parameters

pbstrWebReferenceUrl
String

[out] Pointer to a string containing the Web reference URL.

pfCancelled
Int32

[out] Pointer to a flag, true indicating cancelled.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From compsvcspkg.idl:

HRESULT IVsAddWebReferenceDlg::AddWebReferenceDlg(  
   [out] BSTR* pbstrWebReferenceUrl,  
   [out] BOOL* pfCancelled  
);  

Applies to