Bagikan melalui


ProvideLanguageEditorToolsOptionCategoryAttribute Kelas

Definisi

Atribut ini digunakan untuk mendeklarasikan kategori Opsi Alat untuk bahasa.

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

Konstruktor

ProvideLanguageEditorToolsOptionCategoryAttribute(String, String, String)

Menginisialisasi instans ProvideLanguageEditorToolsOptionCategoryAttribute baru untuk kategori bahasa dan opsi.

Properti

TypeId

Ambil alih properti TypeID untuk memungkinkan 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)

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

(Diperoleh dari RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Mendaftarkan halaman Opsi Alat.

Unregister(RegistrationAttribute+RegistrationContext)

Membatalkan pendaftaran halaman Opsi Alat.

Berlaku untuk