GelDependencyObject::IVsUIDataSource::AdvisePropertyChangeEvents Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Microsoft internal use only.

Registers to be notified when a property changes.

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

private:
virtual int AdvisePropertyChangeEvents(
	IVsUIDataSourcePropertyChangeEvents^ pAdvise, 
	[OutAttribute] unsigned int% pCookie
) sealed = IVsUIDataSource::AdvisePropertyChangeEvents

Parameters

pAdvise
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIDataSourcePropertyChangeEvents

[in] The interface to call when a change occurs.

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%)

Show: