다음을 통해 공유


IVsRunningDocTableEvents3.OnBeforeSave(UInt32) Method

Definition

Called before saving a document.

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

Parameters

docCookie
UInt32

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocTableEvents3::OnBeforeSave(  
   [in] VSCOOKIE docCookie  
);  

This method is called just before a document is saved.

Applies to