RegisterAdditionalEditorExtensionAttribute Class

Definition

Important

This API is not CLS-compliant.

Attribute class to provide a way to add extra file extension handling to existing editors without altering anything else

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

Constructors

RegisterAdditionalEditorExtensionAttribute(Object, String, Int32)

Creates a new RegisterAdditionalEditorExtensionAttribute.

Properties

Extension

File extension to register.

Factory

Guid identifying the editor factory to register.

Priority

Priority of the this editor for the extension being registered. Larger values indicate higher editor priority.

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(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)

Register additional editor.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister the editor

Applies to