Freigeben über


IVsAsynchOpenFromSccProjectEvents.OnFilesDownloaded(Int32, String[]) Method

Definition

Called during an asynchronous load to indicate one or more files have been downloaded.

public:
 int OnFilesDownloaded(int cFiles, cli::array <System::String ^> ^ rgpszFullPaths);
public:
 int OnFilesDownloaded(int cFiles, Platform::Array <Platform::String ^> ^ rgpszFullPaths);
int OnFilesDownloaded(int cFiles, std::Array <std::wstring const &> const & rgpszFullPaths);
public int OnFilesDownloaded (int cFiles, string[] rgpszFullPaths);
abstract member OnFilesDownloaded : int * string[] -> int
Public Function OnFilesDownloaded (cFiles As Integer, rgpszFullPaths As String()) As Integer

Parameters

cFiles
Int32

[in] Number of file names that are in the rgpszFullPaths array. This value should always be greater than 0.

rgpszFullPaths
String[]

[in] Array of physical paths of files that have been successfully loaded so far.

Returns

If 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).

Remarks

COM Signature

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.

Applies to