DocData.OnRegisterDocData(UInt32, IVsHierarchy, UInt32) 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.
Called by the RDT (running documents table) when it registers the document data.
public:
virtual int OnRegisterDocData(System::UInt32 cookie, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 itemId);
public int OnRegisterDocData (uint cookie, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint itemId);
abstract member OnRegisterDocData : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 -> int
override this.OnRegisterDocData : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 -> int
Public Function OnRegisterDocData (cookie As UInteger, hierarchy As IVsHierarchy, itemId As UInteger) As Integer
Parameters
- cookie
- UInt32
Abstract handle for the document to be registered.
- hierarchy
- IVsHierarchy
Hierarchy for the document.
- itemId
- UInt32
Item id of the document to be registered.