Compartir a través de


ProvideDesignerMetadataAttribute Clase

Definición

Declara los metadatos adicionales para los tipos u objetos, lo que permite a otros fabricantes modificar el conjunto de metadatos disponibles en una clase.

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

Constructores

ProvideDesignerMetadataAttribute(Type, Type)

Inicializa una nueva instancia de ProvideDesignerMetadataAttribute, asociando un nuevo Type de metadatos al Type actual.

Propiedades

IsGlobal

Obtiene o establece el ámbito de las modificaciones de los metadatos que proporciona una instancia de ProvideDesignerMetadataAttribute

MetadataType

Obtiene el tipo de los metadatos.

RuntimeType

Obtiene el tipo en tiempo de ejecución.

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)

Registra los metadatos del diseñador.

Unregister(RegistrationAttribute+RegistrationContext)

Quita la clave del Registro de metadatos del diseñador.

Se aplica a