IVsIntellisenseProjectManager.AdviseIntellisenseProjectEvents Method

Definition

Registers an event sink to receive load status of an IntelliSense project.

C++/WinRT
int AdviseIntellisenseProjectEvents(Microsoft::VisualStudio::Shell::Interop::IVsIntellisenseProjectEventSink const & pSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);

Parameters

pSink
IVsIntellisenseProjectEventSink

[In] Pointer to an implementation of IVsIntellisenseProjectEventSink.

pdwCookie
UInt32

[out] Pointer to an object of type VSCOOKIE. Used in the UnadviseIntellisenseProjectEvents(UInt32) method when unregistering the event sink.

Returns

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

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022