Partager via


IVsIntellisenseProjectManager.AdviseIntellisenseProjectEvents Method

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)

Syntax

'Declaration
Function AdviseIntellisenseProjectEvents ( _
    pSink As IVsIntellisenseProjectEventSink, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int AdviseIntellisenseProjectEvents(
    IVsIntellisenseProjectEventSink pSink,
    out uint pdwCookie
)
int AdviseIntellisenseProjectEvents(
    [InAttribute] IVsIntellisenseProjectEventSink^ pSink, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdviseIntellisenseProjectEvents : 
        pSink:IVsIntellisenseProjectEventSink * 
        pdwCookie:uint32 byref -> int
function AdviseIntellisenseProjectEvents(
    pSink : IVsIntellisenseProjectEventSink, 
    pdwCookie : uint
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IVsIntellisenseProjectManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace