Aracılığıyla paylaş


ProvideDirectiveProcessorAttribute Sınıf

Tanım

Önemli

Bu API, CLS uyumlu değildir.

T4 için kayıt defteri girdilerini sağlamak için öznitelik sınıfı. VSHost Yönerge İşlemcisi

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
Devralma
ProvideDirectiveProcessorAttribute
Öznitelikler

Oluşturucular

ProvideDirectiveProcessorAttribute(Type, String, String)

Oluşturucu

Alanlar

DirectiveProcessorsKeyName

Yönerge işlemcileri için belirli kayıt defteri anahtarının adı

TextTemplatingKeyName

Metin şablon oluşturma için kök kayıt defteri anahtarının adı

Özellikler

Description

Yönerge işlemcisinin insan açıklaması

Name

Yönerge işlemcisinin adı

Type

Yönerge işlemcisini uygulayan tür

TypeId

RegistrationAttribute türetilmiş sınıflarının System.ComponentModel.TypeDescriptor.GetAttributes(...) ile çalışmasına izin vermek için TypeID özelliğini geçersiz kılın. Bu özellikten türetilen bir özniteliğin, yalnızca bir sınıfa uygulanabilecek örnekler üzerinde daha iyi bir denetime ihtiyacı varsa bu özelliği geçersiz kılması gerekir.

(Devralındığı yer: RegistrationAttribute)

Yöntemler

GetPackageRegKeyPath(Guid)

VSPackage'ın kayıt defteri yolunu (uygulamanın kayıt defteri köküne göre) alır.

(Devralındığı yer: RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Metin Şablon Oluşturma Yönerge İşlemcisi Kaydetme

Unregister(RegistrationAttribute+RegistrationContext)

Metin Şablonu Oluşturma Yönerge İşlemcisi Kaydını Kaldırma

Şunlara uygulanır