Bagikan melalui


ProvideDirectiveProcessorAttribute Kelas

Definisi

Penting

API ini bukan kompatibel CLS.

Kelas atribut untuk menyediakan entri registri untuk T4. Prosesor Arahan VSHost

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

Konstruktor

ProvideDirectiveProcessorAttribute(Type, String, String)

Konstruktor

Bidang

DirectiveProcessorsKeyName

Nama kunci registri tertentu untuk prosesor Direktif

TextTemplatingKeyName

Nama kunci registri akar untuk templat Teks

Properti

Description

Deskripsi manusia dari prosesor direktif

Name

Nama prosesor direktif

Type

Jenis yang mengimplementasikan prosesor direktif

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 Prosesor Direktif Templat Teks

Unregister(RegistrationAttribute+RegistrationContext)

Membatalkan pendaftaran Prosesor Direktif Templat Teks

Berlaku untuk