EditorFactoryNotifyForProjectAttribute Class

 

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.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.EditorFactoryNotifyForProjectAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, 
	Inherited = true)]
[ComVisibleAttribute(false)]
public sealed class EditorFactoryNotifyForProjectAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodEditorFactoryNotifyForProjectAttribute(Object, String, Object)

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

NameDescription
System_CAPS_pubpropertyFactoryType

Gets the object representing the type of the editor factory.

System_CAPS_pubpropertyFileExtension

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

System_CAPS_pubpropertyProjectType

Gets the object representing the project type.

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

For example:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{F184B08F-C81C-45F6-A57F-5ABD9991F28F}\FileExtensions\.addin]

    "EditorFactoryNotify"="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: