EditorFactoryNotifyForProjectAttribute Class

Definition

This attribute adds a File Extension for a Project System so that the Project will call IVsEditorFactoryNotify methods when an item of this type is added or renamed.

public ref class EditorFactoryNotifyForProjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class EditorFactoryNotifyForProjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class EditorFactoryNotifyForProjectAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type EditorFactoryNotifyForProjectAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class EditorFactoryNotifyForProjectAttribute
Inherits RegistrationAttribute
Inheritance
EditorFactoryNotifyForProjectAttribute
Attributes

Remarks

For example: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\ {F184B08F-C81C-45F6-A57F-5ABD9991F28F}\FileExtensions\.addin] "EditorFactoryNotify"="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"

Constructors

EditorFactoryNotifyForProjectAttribute(Object, String, Object)

Creates a new ProvideEditorFactoryNotifyForProject attribute to register a file extension with a project.

Properties

FactoryType

Get the Guid representing the type of the editor factory

FileExtension

Get or Set the extension of the XML files that support this view

ProjectType

Get the Guid representing the project type

TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains other information such as the type being registered and path information.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister this file extension.

Applies to