IVsFileChangeEvents.DirectoryChanged(String) Method

Definition

Notifies clients of changes made to a directory.

C++/CX
public:
 int DirectoryChanged(Platform::String ^ pszDirectory);

Parameters

pszDirectory
String

[in] Name of the directory that had a change.

Returns

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

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsFileChangeEvents::DirectoryChanged(  
   [in] LPCOLESTR pszDirectory  
);  

The change could have happened in a sub-directory if sub-directories are also being watched.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022