IVsIntellisenseProjectManager.AdviseIntellisenseProjectEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers an event sink to receive load status of an IntelliSense project.
public:
int AdviseIntellisenseProjectEvents(Microsoft::VisualStudio::Shell::Interop::IVsIntellisenseProjectEventSink ^ pSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseIntellisenseProjectEvents(Microsoft::VisualStudio::Shell::Interop::IVsIntellisenseProjectEventSink const & pSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseIntellisenseProjectEvents (Microsoft.VisualStudio.Shell.Interop.IVsIntellisenseProjectEventSink pSink, out uint pdwCookie);
abstract member AdviseIntellisenseProjectEvents : Microsoft.VisualStudio.Shell.Interop.IVsIntellisenseProjectEventSink * uint32 -> int
Public Function AdviseIntellisenseProjectEvents (pSink As IVsIntellisenseProjectEventSink, ByRef pdwCookie As UInteger) As Integer
Parameters
[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.