IVsRunningDocumentTable.NotifyOnAfterSave Method
Fires after a document in the RDT has been saved.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Dichiarazione
Function NotifyOnAfterSave ( _
dwCookie As UInteger _
) As Integer
'Utilizzo
Dim instance As IVsRunningDocumentTable
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.NotifyOnAfterSave(dwCookie)
int NotifyOnAfterSave(
uint dwCookie
)
int NotifyOnAfterSave(
[InAttribute] unsigned int dwCookie
)
function NotifyOnAfterSave(
dwCookie : uint
) : int
Parameters
dwCookie
Type: System.UInt32[in] Abstract value representing the document that is saved.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsRunningDocumentTable::NotifyOnAfterSave(
[in] VSCOOKIE dwCookie
);
The dwCookie parameter is same value that is returned from the FindAndLockDocument or RegisterAndLockDocument methods.
Permissions
- 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.
See Also
Reference
IVsRunningDocumentTable Interface