Compartir a través de


ProvideEditorFactoryAttribute Clase

Definición

Este atributo declara que el VSPackage proporciona un generador de editores.

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
Herencia
ProvideEditorFactoryAttribute
Atributos

Comentarios

Se pueden asociar varios generadores de editores con el mismo VSPackage.

Constructores

ProvideEditorFactoryAttribute(Type, Int16)

Este constructor crea un nuevo objeto ProvideEditorFactoryAttribute.

ProvideEditorFactoryAttribute(Type, Int16, Boolean)

Este atributo declara que el VSPackage proporciona un generador de editores.

Propiedades

CommonPhysicalViewAttributes

Obtiene o establece el valor predeterminado __VSPHYSICALVIEWATTRIBUTES para las vistas físicas admitidas por el editor. Todas las vistas físicas que no aparecen en la sub clave PhysicalViewAttributes usan estos atributos.

DeferUntilIntellisenseIsReady

Este atributo declara que el VSPackage proporciona un generador de editores.

FactoryType

Obtiene el tipo de generador de editores.

NameResourceID

Obtiene el identificador de recursos.

TrustLevel

Obtiene o establece el nivel de confianza para el editor.

TypeId

Invalide la propiedad TypeID para permitir que las clases derivadas RegistrationAttribute funcionen con System.ComponentModel.TypeDescriptor.GetAttributes(...). Un atributo derivado de este tendrá que invalidar esta propiedad solo si necesita un mejor control en las instancias que se pueden aplicar a una clase.

(Heredado de RegistrationAttribute)

Métodos

GetPackageRegKeyPath(Guid)

Obtiene la ruta del Registro (en relación con la raíz del Registro de la aplicación) del Paquete VSPackage.

(Heredado de RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Se usa para registrar este atributo con el contexto determinado.

Unregister(RegistrationAttribute+RegistrationContext)

Se llama para anular el registro de este atributo en el contexto dado.

Se aplica a