Freigeben über


IVsAsynchOpenFromSccProjectEvents.OnFilesDownloaded Method

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

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

Syntax

'Declaration
Function OnFilesDownloaded ( _
    cFiles As Integer, _
    rgpszFullPaths As String() _
) As Integer
int OnFilesDownloaded(
    int cFiles,
    string[] rgpszFullPaths
)
int OnFilesDownloaded(
    [InAttribute] int cFiles, 
    [InAttribute] array<String^>^ rgpszFullPaths
)
abstract OnFilesDownloaded : 
        cFiles:int * 
        rgpszFullPaths:string[] -> int
function OnFilesDownloaded(
    cFiles : int, 
    rgpszFullPaths : String[]
) : int

Parameters

  • cFiles
    Type: Int32

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

  • rgpszFullPaths
    Type: array<String[]

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

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsAsynchOpenFromSccProjectEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace