Bagikan melalui


WAProvideProjectFactoryTemplateMappingAttribute Kelas

Definisi

Atribut ini digunakan untuk mendeklarasikan sistem proyek baru yang mendukung Proyek Aplikasi Web dan menentukan pemetaan antara sistem proyek nyata dan yang 'palsu' yang didefinisikan hanya untuk menyimpan beberapa properti khusus WAP di registri.

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

Konstruktor

WAProvideProjectFactoryTemplateMappingAttribute(String, Type)

Menginisialisasi instans baru WAProvideProjectFactoryTemplateMappingAttribute.

Properti

FlavoredFactoryGuid

Mendapatkan GUID pabrik rasa.

LanguageTemplateFactoryType

Mendapatkan jenis pabrik templat bahasa.

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 pemetaan dalam konteks yang ditentukan.

Unregister(RegistrationAttribute+RegistrationContext)

Membatalkan pendaftaran pemetaan dari konteks yang ditentukan.

Berlaku untuk