Partager via


RegisterEditorLogicalViewAttribute Classe

Définition

Attention

RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.

Cet attribut ajoute une vue logique à l’éditeur créé par une fabrique d’éditeur.

public ref class RegisterEditorLogicalViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterEditorLogicalViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.")]
public sealed class RegisterEditorLogicalViewAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.")>]
type RegisterEditorLogicalViewAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterEditorLogicalViewAttribute
Inherits RegistrationAttribute
Héritage
RegisterEditorLogicalViewAttribute
Attributs

Constructeurs

RegisterEditorLogicalViewAttribute(Object, String)
Obsolète.

Crée un attribut RegisterEditorLogicalView pour inscrire une vue logique fournie par votre éditeur.

Propriétés

FactoryType
Obsolète.

Obtenir le GUID représentant le type de la fabrique d’éditeur

LogicalView
Obsolète.

Obtenir le GUID représentant la vue logique

TypeId
Obsolète.

Remplacez la propriété TypeID pour permettre aux classes dérivées RegistrationAttribute de fonctionner avec System.ComponentModel.TypeDescriptor.GetAttributes(...). Un attribut dérivé de celui-ci ne doit remplacer cette propriété que s’il a besoin d’un meilleur contrôle sur les instances qui peuvent être appliquées à une classe.

(Hérité de RegistrationAttribute)

Méthodes

GetPackageRegKeyPath(Guid)
Obsolète.

Obtient le chemin d'accès au Registre (relatif à la racine de Registre de l'application) du VSPackage.

(Hérité de RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)
Obsolète.

Appelé pour enregistrer cet attribut avec le contexte donné. Le contexte contient l'emplacement où les informations d'inscription doivent être placées. Il contient également d'autres informations telles que le type en cours d'inscription et des informations relatives au chemin d'accès.

Unregister(RegistrationAttribute+RegistrationContext)
Obsolète.

Annulez l’inscription de cette vue logique.

S’applique à