Partager via


UIDataSourceCollection.AdviseCollectionChangeEvents Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

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

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

Parameters

Return Value

Type: System.Int32

Implements

IVsUICollection.AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32%)

.NET Framework Security

See Also

Reference

UIDataSourceCollection Class

UIDataSourceCollection Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace