IVsEditorFactoryNotify Interface


Provides notification methods for saving or renaming a file, or adding an item.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsEditorFactoryNotify

System_CAPS_pubmethodNotifyDependentItemSaved(IVsHierarchy, UInt32, String, UInt32, String)

Method called when a file is saved.

System_CAPS_pubmethodNotifyItemAdded(UInt32, IVsHierarchy, UInt32, String)

Method called when a new file (cloned from a template or existing file) is added to the project.

System_CAPS_pubmethodNotifyItemRenamed(IVsHierarchy, UInt32, String, String)

Method called when a file is renamed.

This is an optional interface for implementers of IVsEditorFactory. Most often used to coordinate the setting of subtypes (VSHPROPID_ItemSubType) for items within a project supporting ViewForm/ViewCode commands. This includes editors that work with a particular project type such as .NET designers and VisualBasic projects.

For more information, see the SampleDocViewEditor example mentioned in How to: Attach Views to Document Data.

Return to top