IDiscoveryResult::AddWebReference Method (Object^, String^)
Visual Studio 2015
Call this method to download the files cached by the latest discovery session.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- punkWebReferenceFolder
-
Type:
System::Object^
[in] Specifies the reference folder of the project automation item.
- bstrDestinationPath
-
Type:
System::String^
[in] String containing the destination path of the folder where the files are to be stored.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From discoveryservice.idl:
HRESULT IDiscoveryResult::AddWebReference( [in] IUnknown* punkWebReferenceFolder, [in] BSTR bstrDestinationPath );
Show: