Share via


RegisterEditorLogicalViewAttribute Class

Definition

Caution

RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.

This attribute adds a logical view to the editor created by an editor factory.

public ref class RegisterEditorLogicalViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterEditorLogicalViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.")]
public sealed class RegisterEditorLogicalViewAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.")>]
type RegisterEditorLogicalViewAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterEditorLogicalViewAttribute
Inherits RegistrationAttribute
Inheritance
RegisterEditorLogicalViewAttribute
Attributes

Constructors

RegisterEditorLogicalViewAttribute(Object, String)

Creates a new RegisterEditorLogicalView attribute to register a logical view provided by your editor.

Properties

FactoryType

Get the Guid representing the type of the editor factory

LogicalView

Get the Guid representing the logical view

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)

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 logical view.

Applies to