IVsFileChangeEvents::FilesChanged Method (UInt32, array<String^>^, array<UInt32>^)
Visual Studio 2015
Notifies clients of changes made to one or more files.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int FilesChanged( unsigned int cChanges, array<String^>^ rgpszFile, array<unsigned int>^ rggrfChange )
Parameters
- cChanges
-
Type:
System::UInt32
[in] Number of files changed.
- rgpszFile
-
Type:
array<System::String^>^
[in, size_is(cChanges)] Array of file names.
- rggrfChange
-
Type:
array<System::UInt32>^
[in, size_is(cChanges)] Array of flags indicating the type of changes. See _VSFILECHANGEFLAGS.
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::FilesChanged( [in] DWORD cChanges, [in, size_is(cChanges)] LPCOLESTR rgpszFile[], [in, size_is(cChanges)] VSFILECHANGEFLAGS rggrfChange[] );
Checks for read-only attribute changes and content changes. For read-only attribute changes, the display is updated immediately. For file content changes, the user is prompted to reload the file.
Show: