次の方法で共有


IVsTrackProjectDocumentsEvents3.OnBeginQueryBatch Method

Indicates that a project is about start a batch query process.

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

Syntax

'宣言
Function OnBeginQueryBatch As Integer
'使用
Dim instance As IVsTrackProjectDocumentsEvents3
Dim returnValue As Integer

returnValue = instance.OnBeginQueryBatch()
int OnBeginQueryBatch()
int OnBeginQueryBatch()
function OnBeginQueryBatch() : int

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 OnBeginQueryBatch(void);

This method is called as a result of a call to the BeginQueryBatch method.

This method does whatever setup is necessary to watch a batch query process. When the batch query process is over, the OnEndQueryBatch method or the OnCancelQueryBatch method is called, and those methods can clean up any allocations made in OnBeginQueryBatch).

For every call to this method, there is a corresponding call to either the OnEndQueryBatch method or the OnCancelQueryBatch method.

Permissions

See Also

Reference

IVsTrackProjectDocumentsEvents3 Interface

IVsTrackProjectDocumentsEvents3 Members

Microsoft.VisualStudio.Shell.Interop Namespace