RunningDocumentTable::Advise Method (IVsRunningDocTableEvents^)
Visual Studio 2015
Enables the client to receive events about changes to the Running Document Table (RDT).
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- sink
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsRunningDocTableEvents^
[in] An IVsRunningDocTableEvents object representing an entity to be called for various running document table events.
Return Value
Type: System::UInt32A cookie associated with the given IVsRunningDocTableEvents object. If an error occurs, this method throws an exception.
This method forwards the call to the AdviseRunningDocTableEvents method in the IVsRunningDocumentTable interface. The returned cookie can be passed to the Unadvise method to remove the IVsRunningDocTableEvents object from the list of entities to be notified.
Show: