Método IVsUIDynamicCollection.AdviseCollectionChangeEvents (IVsUICollectionChangeEvents, UInt32)

 

Registra um evento sink para coleta de notificações de alteração.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (em Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Sintaxe

int AdviseCollectionChangeEvents(
    IVsUICollectionChangeEvents pAdvise,
    out uint pCookie
)
int AdviseCollectionChangeEvents(
    IVsUICollectionChangeEvents^ pAdvise,
    [OutAttribute] unsigned int% pCookie
)
abstract AdviseCollectionChangeEvents : 
        pAdvise:IVsUICollectionChangeEvents *
        pCookie:uint32 byref -> int
Function AdviseCollectionChangeEvents (
    pAdvise As IVsUICollectionChangeEvents,
    <OutAttribute> ByRef pCookie As UInteger
) As Integer

Parâmetros

  • pAdvise
    [in] A interface para chamar.
  • pCookie
    [out] Local para retornar um identificador para o evento.

Valor de retorno

Type: System.Int32

Retorna S_OK se o coletor foi registrado.

Implementações

IVsUICollection.AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32)

Consulte também

Interface IVsUIDynamicCollection
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo