IVsRunningDocumentTable.NotifyDocumentChanged(UInt32, UInt32) Método

Definição

Notifica o cliente quando são feitas alterações no documento.

public:
 int NotifyDocumentChanged(System::UInt32 dwCookie, System::UInt32 grfDocChanged);
public:
 int NotifyDocumentChanged(unsigned int dwCookie, unsigned int grfDocChanged);
int NotifyDocumentChanged(unsigned int dwCookie, unsigned int grfDocChanged);
public int NotifyDocumentChanged (uint dwCookie, uint grfDocChanged);
abstract member NotifyDocumentChanged : uint32 * uint32 -> int
Public Function NotifyDocumentChanged (dwCookie As UInteger, grfDocChanged As UInteger) As Integer

Parâmetros

dwCookie
UInt32

no Valor abstrato que representa o documento que é alterado.

grfDocChanged
UInt32

no Atributos RDT cujos valores são obtidos da __VSRDTATTRIB enumeração.

Retornos

Int32

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

Comentários

Assinatura COM

De VSShell. idl:

HRESULT IVsRunningDocumentTable::NotifyDocumentChanged(  
   [in] VSCOOKIE    dwCookie,  
   [in] VSRDTATTRIB grfDocChanged  
);  

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

Aplica-se a