Share via


ProvideEditorFactoryAttribute Class

Definition

This attribute declares that the VSPackage provides an editor factory.

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

Remarks

Multiple editor factories can be associated with the same VSPackage.

Constructors

Name Description
ProvideEditorFactoryAttribute(Type, Int16, Boolean)
ProvideEditorFactoryAttribute(Type, Int16)

This constructor creates a new ProvideEditorFactoryAttribute object.

Properties

Name Description
CommonPhysicalViewAttributes

Gets or sets the default __VSPHYSICALVIEWATTRIBUTES for physical views supported by the editor. Any physical views not listed in the PhysicalViewAttributes sub-key use these attributes.

DeferUntilIntellisenseIsReady
FactoryType

Gets the editor factory type.

NameResourceID

Gets resource ID.

TrustLevel

Gets or sets the trust level for the editor.

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

Name Description
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.

Unregister(RegistrationAttribute+RegistrationContext)

Called to un-register this attribute with the given context.

Applies to