Sdílet prostřednictvím


RegisterEditorLogicalViewAttribute Třída

Definice

Upozornění

RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.

Tento atribut přidá logické zobrazení do editoru vytvořeného objektem pro vytváření editoru.

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
Dědičnost
RegisterEditorLogicalViewAttribute
Atributy

Konstruktory

RegisterEditorLogicalViewAttribute(Object, String)
Zastaralé.

Vytvoří nový Atribut RegisterEditorLogicalView pro registraci logického zobrazení poskytovaného editorem.

Vlastnosti

FactoryType
Zastaralé.

Získání identifikátoru GUID představujícího typ objektu pro vytváření editoru

LogicalView
Zastaralé.

Získání identifikátoru GUID představujícího logické zobrazení

TypeId
Zastaralé.

Přepište vlastnost TypeID, aby odvozené třídy RegistrationAttribute fungovaly se System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut odvozený z tohoto atributu bude muset přepsat tuto vlastnost pouze v případě, že potřebuje lepší kontrolu nad instancemi, které lze použít na třídu.

(Zděděno od RegistrationAttribute)

Metody

GetPackageRegKeyPath(Guid)
Zastaralé.

Získá cestu registru (vzhledem ke kořenovému adresáři registru aplikace) VSPackage.

(Zděděno od RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)
Zastaralé.

Volána pro registraci tohoto atributu s daným kontextem. Kontext obsahuje umístění, kam se mají umístit registrační informace. Obsahuje také další informace, jako je zaregistrovaný typ a informace o cestě.

Unregister(RegistrationAttribute+RegistrationContext)
Zastaralé.

Zrušte registraci tohoto logického zobrazení.

Platí pro