EditorFactoryNotifyForProjectAttribute EditorFactoryNotifyForProjectAttribute EditorFactoryNotifyForProjectAttribute EditorFactoryNotifyForProjectAttribute EditorFactoryNotifyForProjectAttribute Class

Definition

Adds a file extension for a Project System so 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
type EditorFactoryNotifyForProjectAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class EditorFactoryNotifyForProjectAttribute
Inherits RegistrationAttribute
Inheritance
EditorFactoryNotifyForProjectAttributeEditorFactoryNotifyForProjectAttributeEditorFactoryNotifyForProjectAttributeEditorFactoryNotifyForProjectAttributeEditorFactoryNotifyForProjectAttribute
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) EditorFactoryNotifyForProjectAttribute(Object, String, Object) EditorFactoryNotifyForProjectAttribute(Object, String, Object) EditorFactoryNotifyForProjectAttribute(Object, String, Object) EditorFactoryNotifyForProjectAttribute(Object, String, Object)

Initializes a new instance of the EditorFactoryNotifyForProjectAttribute class, which registers a file extension with a project.

Properties

FactoryType FactoryType FactoryType FactoryType FactoryType

Gets the object representing the type of the editor factory.

FileExtension FileExtension FileExtension FileExtension FileExtension

Gets the extension of the XML files that supports this view.

ProjectType ProjectType ProjectType ProjectType ProjectType

Gets the object representing the project type.

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

Applies to