ProvideEditorFactoryAttribute 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 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
- Attributes
Remarks
Multiple editor factories can be associated with the same VSPackage.
Constructors
ProvideEditorFactoryAttribute(Type, Int16) |
This constructor creates a new ProvideEditorFactoryAttribute object. |
ProvideEditorFactoryAttribute(Type, Int16, Boolean) |
Properties
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
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. |