IVsRunningDocumentTable::NotifyDocumentChanged Method (UInt32, UInt32)
Visual Studio 2015
Notifies the client when changes are made to the document.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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::Int32If 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.
Show: