Share via


ProvideDirectiveProcessorAttribute クラス

定義

重要

この API は CLS 準拠ではありません。

T4 のレジストリ エントリを提供する属性クラス。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
継承
ProvideDirectiveProcessorAttribute
属性

コンストラクター

ProvideDirectiveProcessorAttribute(Type, String, String)

コンストラクター

フィールド

DirectiveProcessorsKeyName

ディレクティブ プロセッサの特定のレジストリ キーの名前

TextTemplatingKeyName

テキスト テンプレートのルート レジストリ キーの名前

プロパティ

Description

ディレクティブ プロセッサの人間の説明

Name

ディレクティブ プロセッサの名前

Type

ディレクティブ プロセッサを実装する型

TypeId

RegistrationAttribute 派生クラスが System.ComponentModel.TypeDescriptor.GetAttributes(...) と連携できるように、TypeID プロパティをオーバーライドします。このプロパティから派生した属性は、クラスに適用できるインスタンスをより適切に制御する必要がある場合にのみ、このプロパティをオーバーライドする必要があります。

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

VSPackage のレジストリ パス (アプリケーションのレジストリ ルートに対する相対パス) を取得します。

(継承元 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

テキスト テンプレート ディレクティブ プロセッサを登録する

Unregister(RegistrationAttribute+RegistrationContext)

テキスト テンプレート ディレクティブ プロセッサの登録を解除する

適用対象