Share via


IVsRunningDocumentTable5.HandsOnDocument(UInt32, String) Method

Definition

Undoes the actions performed by HandsOffDocument.

public:
 void HandsOnDocument(System::UInt32 cookie, System::String ^ moniker);
public:
 void HandsOnDocument(unsigned int cookie, Platform::String ^ moniker);
void HandsOnDocument(unsigned int cookie, std::wstring const & moniker);
public void HandsOnDocument (uint cookie, string moniker);
abstract member HandsOnDocument : uint32 * string -> unit
Public Sub HandsOnDocument (cookie As UInteger, moniker As String)

Parameters

cookie
UInt32

(optional) The cookie for the document (if VSCOOKIE_NIL is used, the moniker parameter identifies the document).

moniker
String

(optional) The moniker for the document (only used if cookie == VSCOOKIE_NIL).

Remarks

This method must be accessed on the main thread.

Applies to