ProvideEditorLogicalViewAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |
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. |