IVsFileChangeEvents.DirectoryChanged(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies clients of changes made to a directory.
public:
int DirectoryChanged(System::String ^ pszDirectory);
C++/CX
public:
int DirectoryChanged(Platform::String ^ pszDirectory);
int DirectoryChanged(std::wstring const & pszDirectory);
public int DirectoryChanged(string pszDirectory);
abstract member DirectoryChanged : string -> int
Public Function DirectoryChanged (pszDirectory As String) As Integer
- pszDirectory
- String
[in] Name of the directory that had a change.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |