Share via


GelDependencyObject.IVsUIDataSource.AdvisePropertyChangeEvents Method

Microsoft internal use only.

Registers to be notified when a property changes.

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

Syntax

'Declaration
Private Function AdvisePropertyChangeEvents ( _
    pAdvise As IVsUIDataSourcePropertyChangeEvents, _
    <OutAttribute> ByRef pCookie As UInteger _
) As Integer Implements IVsUIDataSource.AdvisePropertyChangeEvents
int IVsUIDataSource.AdvisePropertyChangeEvents(
    IVsUIDataSourcePropertyChangeEvents pAdvise,
    out uint pCookie
)
private:
virtual int AdvisePropertyChangeEvents(
    IVsUIDataSourcePropertyChangeEvents^ pAdvise, 
    [OutAttribute] unsigned int% pCookie
) sealed = IVsUIDataSource::AdvisePropertyChangeEvents
private abstract AdvisePropertyChangeEvents : 
        pAdvise:IVsUIDataSourcePropertyChangeEvents * 
        pCookie:uint32 byref -> int  
private override AdvisePropertyChangeEvents : 
        pAdvise:IVsUIDataSourcePropertyChangeEvents * 
        pCookie:uint32 byref -> int
JScript does not support explicit interface implementations.

Parameters

  • pCookie
    Type: System.UInt32%

    [out] Location to return an ID for this event sink.

Return Value

Type: System.Int32
Returns S_OK if the sink was registered.

Implements

IVsUIDataSource.AdvisePropertyChangeEvents(IVsUIDataSourcePropertyChangeEvents, UInt32%)

.NET Framework Security

See Also

Reference

GelDependencyObject Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace