Udostępnij za pośrednictwem


IVsEditorFactoryNotify Interface

Definition

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

public interface class IVsEditorFactoryNotify
public interface class IVsEditorFactoryNotify
__interface IVsEditorFactoryNotify
[System.Runtime.InteropServices.Guid("02AC210F-139B-4F8E-9159-501CF2A87D6E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsEditorFactoryNotify
[System.Runtime.InteropServices.Guid("02AC210F-139B-4F8E-9159-501CF2A87D6E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsEditorFactoryNotify
[<System.Runtime.InteropServices.Guid("02AC210F-139B-4F8E-9159-501CF2A87D6E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsEditorFactoryNotify = interface
[<System.Runtime.InteropServices.Guid("02AC210F-139B-4F8E-9159-501CF2A87D6E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsEditorFactoryNotify = interface
Public Interface IVsEditorFactoryNotify
Attributes

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.

Methods

NotifyDependentItemSaved(IVsHierarchy, UInt32, String, UInt32, String)

Method called when a file is saved.

NotifyItemAdded(UInt32, IVsHierarchy, UInt32, String)

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

NotifyItemRenamed(IVsHierarchy, UInt32, String, String)

Method called when a file is renamed.

Applies to