IVsAddWebReferenceDlg::AddWebReferenceDlg Method (String^, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int AddWebReferenceDlg(
	[OutAttribute] String^% pbstrWebReferenceUrl,
	[OutAttribute] int% pfCancelled
)

Parameters

pbstrWebReferenceUrl
Type: System::String^

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

pfCancelled
Type: System::Int32

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

Return Value

Type: System::Int32

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

From compsvcspkg.idl:

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