Udostępnij za pośrednictwem


IVsFileChangeEvents.DirectoryChanged(String) Method

Definition

Notifies clients of changes made to a directory.

public:
 int DirectoryChanged(System::String ^ pszDirectory);
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

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:

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

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

Applies to