Sdílet prostřednictvím


DocData.OnRegisterDocData(UInt32, IVsHierarchy, UInt32) Method

Definition

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.

Returns

Implements

Applies to