Share via


DesignerDocDataService.IVsRunningDocTableEvents2.OnAfterSave Method

Called after a document in the Running Document Table (RDT) is saved.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Private Function OnAfterSave ( _
    docCookie As UInteger _
) As Integer Implements IVsRunningDocTableEvents2.OnAfterSave
int IVsRunningDocTableEvents2.OnAfterSave(
    uint docCookie
)
private:
virtual int OnAfterSave(
    unsigned int docCookie
) sealed = IVsRunningDocTableEvents2::OnAfterSave
private abstract OnAfterSave : 
        docCookie:uint32 -> int  
private override OnAfterSave : 
        docCookie:uint32 -> int
JScript does not support explicit interface implementations.

Parameters

  • docCookie
    Type: System.UInt32

    The identifier of the document data object in the Running Document Table.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsRunningDocTableEvents2.OnAfterSave(UInt32)

Remarks

This method calls OnAfterSave.

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace