IVsRunningDocTableEvents3::OnBeforeSave Method (UInt32)
Visual Studio 2015
Called before saving a document.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- docCookie
-
Type:
System::UInt32
[in] Abstract value representing the document about to be saved..
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsRunningDocTableEvents3::OnBeforeSave(
[in] VSCOOKIE docCookie
);
This method is called just before a document is saved.
Show: