Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

[GuidAttribute("02AC210F-139B-4F8E-9159-501CF2A87D6E")]
[InterfaceTypeAttribute()]
public interface IVsEditorFactoryNotify

The IVsEditorFactoryNotify type exposes the following members.

  NameDescription
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.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft