IVsTrackProjectDocuments3.HandsOnFiles Method
Indicates that a project is done manipulating the specified files.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Déclaration
Function HandsOnFiles ( _
cFiles As Integer, _
rgpszMkDocuments As String() _
) As Integer
'Utilisation
Dim instance As IVsTrackProjectDocuments3
Dim cFiles As Integer
Dim rgpszMkDocuments As String()
Dim returnValue As Integer
returnValue = instance.HandsOnFiles(cFiles, _
rgpszMkDocuments)
int HandsOnFiles(
int cFiles,
string[] rgpszMkDocuments
)
int HandsOnFiles(
[InAttribute] int cFiles,
[InAttribute] array<String^>^ rgpszMkDocuments
)
abstract HandsOnFiles :
cFiles:int *
rgpszMkDocuments:string[] -> int
function HandsOnFiles(
cFiles : int,
rgpszMkDocuments : String[]
) : int
Parameters
- cFiles
Type: System.Int32
[in] Number of file names given in the rgpszMkDocuments array.
- rgpszMkDocuments
Type: array<System.String[]
[in] An array of file names.
Return Value
Type: System.Int32
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.
Notes
HandsOnFiles may be called with file names that no longer exist due to a rename or delete operation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsTrackProjectDocuments3 Interface