IVsRunningDocumentTable5.HandsOffDocument(UInt32, String) Methode

Definition

Diese Methode wird in der Regel vor einem Vorgang aufgerufen, durch den das Dokument auf dem Datenträger geändert wird. Wenn der Vorgang beendet ist, muss handsondocument aufgerufen werden. Sie führt die folgenden Aktionen aus:-ivsfilechangeex. IgnoreFile (true)-IVsTrackProjectDocuments3. handsofffilesif die docdata des Dokuments unterstützt Folgendes:-IVsPersistDocData3. handsoffdocdatastorage-ivsdocdatafilechangecontrol. ignorefilechangesif die Hierarchie des Dokuments unterstützt Folgendes:-IVsPersistHierarchyItem2

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

Parameter

cookie
UInt32

optionale Das Cookie für das Dokument (wenn VSCOOKIE_NIL verwendet wird, identifiziert der monikerparameter das Dokument).

moniker
String

optionale Der Moniker für das Dokument (wird nur verwendet, wenn Cookie = = VSCOOKIE_NIL).

Gilt für