WAProvideLanguagePropertyAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Kelas ini dapat digunakan untuk mendaftarkan Properti Aplikasi Web untuk proyek
public ref class WAProvideLanguagePropertyAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class WAProvideLanguagePropertyAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class WAProvideLanguagePropertyAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type WAProvideLanguagePropertyAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class WAProvideLanguagePropertyAttribute
Inherits RegistrationAttribute
- Warisan
- Atribut
Konstruktor
WAProvideLanguagePropertyAttribute(Type, String, Boolean) |
Menginisialisasi instans baru WAProvideLanguagePropertyAttribute. |
WAProvideLanguagePropertyAttribute(Type, String, Int32) |
Menginisialisasi instans baru WAProvideLanguagePropertyAttribute. |
WAProvideLanguagePropertyAttribute(Type, String, String) |
Menginisialisasi instans baru WAProvideLanguagePropertyAttribute. |
WAProvideLanguagePropertyAttribute(Type, String, Type) |
Menginisialisasi instans baru WAProvideLanguagePropertyAttribute. |
Properti
LanguageTemplateFactoryType |
Mendapatkan jenis pabrik templat bahasa. |
PropertyName |
Mendapatkan nama properti . |
PropertyValueInt |
Mendapatkan nilai bilangan bulat properti. |
PropertyValueString |
Mendapatkan nilai string 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 properti bahasa. |
Unregister(RegistrationAttribute+RegistrationContext) |
Membatalkan pendaftaran properti bahasa. |