DesignerDocDataService.IVsRunningDocTableEvents.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 IVsRunningDocTableEvents.OnAfterSave
int IVsRunningDocTableEvents.OnAfterSave(
    uint docCookie
)
private:
virtual int OnAfterSave(
    unsigned int docCookie
) sealed = IVsRunningDocTableEvents::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

IVsRunningDocTableEvents.OnAfterSave(UInt32)

Remarks

When the master document data object is saved, each of the child document data objects is also saved.

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace