IVsUIDataSource.AdvisePropertyChangeEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers to be notified when a property changes.
public:
int AdvisePropertyChangeEvents(Microsoft::VisualStudio::Shell::Interop::IVsUIDataSourcePropertyChangeEvents ^ pAdvise, [Runtime::InteropServices::Out] System::UInt32 % pCookie);
int AdvisePropertyChangeEvents(Microsoft::VisualStudio::Shell::Interop::IVsUIDataSourcePropertyChangeEvents const & pAdvise, [Runtime::InteropServices::Out] unsigned int & pCookie);
public int AdvisePropertyChangeEvents (Microsoft.VisualStudio.Shell.Interop.IVsUIDataSourcePropertyChangeEvents pAdvise, out uint pCookie);
abstract member AdvisePropertyChangeEvents : Microsoft.VisualStudio.Shell.Interop.IVsUIDataSourcePropertyChangeEvents * uint32 -> int
Public Function AdvisePropertyChangeEvents (pAdvise As IVsUIDataSourcePropertyChangeEvents, ByRef pCookie As UInteger) As Integer
Parameters
[in] The interface to call when a change occurs.
- pCookie
- UInt32
[out] Location to return an ID for this event sink.
Returns
Returns S_OK if the sink was registered.