IVsIntellisenseProjectManager::AdviseIntellisenseProjectEvents Method (IVsIntellisenseProjectEventSink^, UInt32)

 

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

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

int AdviseIntellisenseProjectEvents(
	IVsIntellisenseProjectEventSink^ pSink,
	[OutAttribute] unsigned int% pdwCookie
)

Parameters

pSink
Type: Microsoft.VisualStudio.Shell.Interop::IVsIntellisenseProjectEventSink^

 [In] Pointer to an implementation of IVsIntellisenseProjectEventSink.

pdwCookie
Type: System::UInt32

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

Return Value

Type: System::Int32

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

Return to top
Show: