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
'Dichiarazione
Private Function OnAfterSave ( _
docCookie As UInteger _
) As Integer Implements IVsRunningDocTableEvents.OnAfterSave
'Utilizzo
Dim instance As DesignerDocDataService
Dim docCookie As UInteger
Dim returnValue As Integer
returnValue = CType(instance, IVsRunningDocTableEvents).OnAfterSave(docCookie)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.