Bagikan melalui


WAProvideProjectFactoryAttribute Kelas

Definisi

Atribut ini dapat digunakan untuk mendaftarkan informasi tentang sistem proyek yang mendukung rasa/subtipe WAP.

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

Konstruktor

WAProvideProjectFactoryAttribute(Type, String)

Menginisialisasi instans baru WAProvideProjectFactoryAttribute.

WAProvideProjectFactoryAttribute(Type, String, String, Boolean, String, String)

Menginisialisasi instans baru WAProvideProjectFactoryAttribute.

Properti

DefaultProjectExtension

Mendapatkan ekstensi file proyek default.

DisplayName

Mendapatkan nama tampilan.

DisplayProjectFileExtensions

Mendapatkan ekstensi file proyek tampilan.

DisplayProjectTypeVsTemplate

Mendapatkan templat Visual Studio jenis proyek tampilan.

FactoryType

Mendapatkan jenis pabrik.

FolderGuid

Mendapatkan GUID folder.

LanguageVsTemplate

Mendapatkan templat Visual Studio bahasa.

Name

Mendapatkan nama pabrik proyek.

NewProjectRequireNewFolderVsTemplate

Menentukan apakah proyek baru memerlukan folder baru.

PossibleProjectExtensions

Mendapatkan sekumpulan kemungkinan ekstensi file proyek.

ProjectSubTypeVsTemplate

Mendapatkan subjenis proyek.

ProjectTemplatesDirectory

Mendapatkan direktori templat proyek.

ShowOnlySpecifiedTemplatesVsTemplate

Menentukan apakah hanya menampilkan templat yang ditentukan.

SortPriority

Mendapatkan prioritas pengurutan.

TemplateGroupIDsVsTemplate

Mendapatkan ID grup templat.

TemplateIDsVsTemplate

Mendapatkan ID templat.

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 pabrik proyek.

Unregister(RegistrationAttribute+RegistrationContext)

Membatalkan pendaftaran pabrik proyek.

Berlaku untuk