IVsAsynchOpenFromSccProjectEvents::OnFilesDownloaded Method (Int32, array<String^>^)
Visual Studio 2015
Called during an asynchronous load to indicate one or more files have been downloaded.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- cFiles
-
Type:
System::Int32
[in] Number of file names that are in the rgpszFullPaths array. This value should always be greater than 0.
- rgpszFullPaths
-
Type:
array<System::String^>^
[in] Array of physical paths of files that have been successfully loaded so far.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
If an error is returned, the source control package may cancel the load process if it so chooses (typically, if this method returns an error, something catastrophic has happened and the load should probably not continue).
From vsshell80.idl
HRESULT OnFilesDownloaded( [in] int cFiles, [in, size_is(cFiles)] const LPCOLESTR rgpszFullPaths[] );
As an alternative, a project can periodically call the IsLoadingContent method to determine if a load is complete.
Show: