Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
[GuidAttribute("BF955013-A875-439D-A4E7-A3BBDF12AA4F")] [InterfaceTypeAttribute(1)] public interface IVsDocDataFileChangeControl
/** @attribute GuidAttribute("BF955013-A875-439D-A4E7-A3BBDF12AA4F") */ /** @attribute InterfaceTypeAttribute(1) */ public interface IVsDocDataFileChangeControl
All editors should implement. This means that the editor advises for file change events through to listen for changes to the file outside of the environment. The editor would then prompt the user to reload the file. See for information relating to advising for file changes.
All editors that properly implement this reload feature need to implement IVsDocDataFileChangeControl to allow listeners like Source Code Control to tell the editor to ignore file changes at specific times. For example, when Source Code Control is getting the latest version of the file it will directly callat the appropriate time rather than allowing the user to be prompted to reload the file.
See illustrations of the implementation and/or calling of this interface in the, , , and samples.