IVsFileChangeEvents::DirectoryChanged Method (String^)
Visual Studio 2015
Notifies clients of changes made to a directory.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pszDirectory
-
Type:
System::String^
[in] Name of the directory that had a change.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsFileChangeEvents::DirectoryChanged(
[in] LPCOLESTR pszDirectory
);
The change could have happened in a sub-directory if sub-directories are also being watched.
Show: