共用方式為


IVsTrackProjectDocuments3.HandsOnFiles(Int32, String[]) Method

Definition

Indicates that a project is done manipulating the specified files.

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

Parameters

cFiles
Int32

[in] Number of file names given in the rgpszMkDocuments array.

rgpszMkDocuments
String[]

[in] An array of file names.

Returns

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

Remarks

COM Signature

From ivstrackprojectdocumentsevents80.idl

HRESULT HandsOnFiles(  
   [in] int cFiles,  
   [in, size_is(cFiles)] const LPCOLESTR rgpszMkDocuments[]  
);  

This method is called after the HandsOffFiles method and all operations on the files have been completed.

Note

HandsOnFiles may be called with file names that no longer exist due to a rename or delete operation.

Applies to