Bagikan melalui


RegisterEditorLogicalViewAttribute Kelas

Definisi

Perhatian

RegisterEditorLogicalViewAttribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.

Atribut ini menambahkan tampilan logis ke editor yang dibuat oleh pabrik editor.

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
Warisan
RegisterEditorLogicalViewAttribute
Atribut

Konstruktor

RegisterEditorLogicalViewAttribute(Object, String)
Kedaluwarsa.

Membuat atribut RegisterEditorLogicalView baru untuk mendaftarkan tampilan logis yang disediakan oleh editor Anda.

Properti

FactoryType
Kedaluwarsa.

Dapatkan Guid yang mewakili jenis pabrik editor

LogicalView
Kedaluwarsa.

Dapatkan Guid yang mewakili tampilan logis

TypeId
Kedaluwarsa.

Ambil alih properti TypeID untuk membiarkan RegistrationAttribute memperoleh kelas untuk bekerja dengan System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut yang berasal dari atribut ini harus mengambil alih properti ini hanya jika membutuhkan kontrol yang lebih baik pada instans yang dapat diterapkan ke kelas.

(Diperoleh dari RegistrationAttribute)

Metode

GetPackageRegKeyPath(Guid)
Kedaluwarsa.

Mendapatkan jalur registri (relatif terhadap akar registri aplikasi) dari VSPackage.

(Diperoleh dari RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)
Kedaluwarsa.

Dipanggil untuk mendaftarkan atribut ini dengan konteks yang diberikan. Konteks berisi lokasi tempat informasi pendaftaran harus ditempatkan. Ini juga berisi informasi lain seperti jenis yang terdaftar dan informasi jalur.

Unregister(RegistrationAttribute+RegistrationContext)
Kedaluwarsa.

Batalkan pendaftaran tampilan logis ini.

Berlaku untuk