Partager via


IVsUIDynamicCollection.AdviseCollectionChangeEvents Method (IVsUICollectionChangeEvents, UInt32%)

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Function AdviseCollectionChangeEvents ( _
    pAdvise As IVsUICollectionChangeEvents, _
    <OutAttribute> ByRef pCookie As UInteger _
) As Integer
'Utilisation
Dim instance As IVsUIDynamicCollection
Dim pAdvise As IVsUICollectionChangeEvents
Dim pCookie As UInteger
Dim returnValue As Integer

returnValue = instance.AdviseCollectionChangeEvents(pAdvise, _
    pCookie)
int AdviseCollectionChangeEvents(
    IVsUICollectionChangeEvents pAdvise,
    out uint pCookie
)
int AdviseCollectionChangeEvents(
    [InAttribute] IVsUICollectionChangeEvents^ pAdvise, 
    [OutAttribute] unsigned int% pCookie
)
abstract AdviseCollectionChangeEvents : 
        pAdvise:IVsUICollectionChangeEvents * 
        pCookie:uint32 byref -> int 
function AdviseCollectionChangeEvents(
    pAdvise : IVsUICollectionChangeEvents, 
    pCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsUICollection.AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32%)

.NET Framework Security

See Also

Reference

IVsUIDynamicCollection Interface

IVsUIDynamicCollection Members

AdviseCollectionChangeEvents Overload

Microsoft.VisualStudio.Shell.Interop Namespace