This documentation is archived and is not being maintained.

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

The IVsEditorFactoryNotify type exposes the following members.

Public methodNotifyDependentItemSavedMethod called when a file is saved.
Public methodNotifyItemAddedMethod called when a new file (cloned from a template or existing file) is added to the project.
Public methodNotifyItemRenamedMethod 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.