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)

Syntax

'Declaration
<GuidAttribute("02AC210F-139B-4F8E-9159-501CF2A87D6E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsEditorFactoryNotify
[GuidAttribute("02AC210F-139B-4F8E-9159-501CF2A87D6E")]
[InterfaceTypeAttribute()]
public interface IVsEditorFactoryNotify
[GuidAttribute(L"02AC210F-139B-4F8E-9159-501CF2A87D6E")]
[InterfaceTypeAttribute()]
public interface class IVsEditorFactoryNotify
[<GuidAttribute("02AC210F-139B-4F8E-9159-501CF2A87D6E")>]
[<InterfaceTypeAttribute()>]
type IVsEditorFactoryNotify =  interface end
public interface IVsEditorFactoryNotify

The IVsEditorFactoryNotify type exposes the following members.

Methods

  Name Description
Public method NotifyDependentItemSaved Method called when a file is saved.
Public method NotifyItemAdded Method called when a new file (cloned from a template or existing file) is added to the project.
Public method NotifyItemRenamed Method called when a file is renamed.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace