IVsRunningDocumentTable.NotifyDocumentChanged(UInt32, UInt32) Method

Definition

Notifies the client when changes are made to the document.

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

Parameters

dwCookie
UInt32

[in] Abstract value representing the document that is changed.

grfDocChanged
UInt32

[in] RDT attributes whose values are taken from the __VSRDTATTRIB enumeration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

The dwCookie parameter is same value that is returned from the FindAndLockDocument or RegisterAndLockDocument methods.

Applies to