IVsRunningDocumentTable::NotifyDocumentChanged Method (UInt32, UInt32)

 

Notifies the client when changes are made to the document.

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

int NotifyDocumentChanged(
	unsigned int dwCookie,
	unsigned int grfDocChanged
)

Parameters

dwCookie
Type: System::UInt32

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

grfDocChanged
Type: System::UInt32

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: