次の方法で共有


IVsRunningDocumentTable.NotifyOnBeforeSave(UInt32) Method

Definition

Fires before a document in the RDT is saved.

public:
 int NotifyOnBeforeSave(System::UInt32 dwCookie);
public:
 int NotifyOnBeforeSave(unsigned int dwCookie);
int NotifyOnBeforeSave(unsigned int dwCookie);
public int NotifyOnBeforeSave (uint dwCookie);
abstract member NotifyOnBeforeSave : uint32 -> int
Public Function NotifyOnBeforeSave (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] Abstract value representing the document that is to be saved.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method must be accessed on the main thread.

Applies to