ProvideEditorLogicalViewAttribute Class

Definition

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

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

Constructors

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

IsTrusted

Get or set the trust flag for this logical view. If a view is not trusted, it can not be opened from a wizard or automation code.

LogicalView

Get the Guid representing the logical view

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

Applies to