Método IVsRunningDocumentTable.NotifyOnAfterSave (UInt32)

 

Publicado: abril de 2016

Acionado após um documento em que o RDT foi salvo.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (em Microsoft.VisualStudio.Shell.Interop.dll)

Sintaxe

int NotifyOnAfterSave(
    uint dwCookie
)
int NotifyOnAfterSave(
    unsigned int dwCookie
)
abstract NotifyOnAfterSave : 
        dwCookie:uint32 -> int
Function NotifyOnAfterSave (
    dwCookie As UInteger
) As Integer

Parâmetros

  • dwCookie
    [in] Valor abstrato que representa o documento que está salvo.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell.idl:

HRESULT IVsRunningDocumentTable::NotifyOnAfterSave(
   [in] VSCOOKIE dwCookie
);

O dwCookie parâmetro é o mesmo valor que é retornado de FindAndLockDocument ou RegisterAndLockDocument métodos.

Consulte também

Interface IVsRunningDocumentTable
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo