次の方法で共有


ProvideDirectiveProcessorAttribute クラス

T4.VSHost ディレクティブ プロセッサのレジストリにエントリを指定する属性クラス

この API は、CLS に準拠していません。 

継承階層

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.TextTemplating.VSHost.ProvideDirectiveProcessorAttribute

名前空間:  Microsoft.VisualStudio.TextTemplating.VSHost
アセンブリ:  Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll 内)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ProvideDirectiveProcessorAttribute _
    Inherits RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
[CLSCompliantAttribute(false)]
public sealed class ProvideDirectiveProcessorAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
[CLSCompliantAttribute(false)]
public ref class ProvideDirectiveProcessorAttribute sealed : public RegistrationAttribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)>]
[<CLSCompliantAttribute(false)>]
type ProvideDirectiveProcessorAttribute =  
    class
        inherit RegistrationAttribute
    end
public final class ProvideDirectiveProcessorAttribute extends RegistrationAttribute

ProvideDirectiveProcessorAttribute 型で公開されるメンバーは以下のとおりです。

コンストラクター

  名前 説明
パブリック メソッド ProvideDirectiveProcessorAttribute

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ Description ユーザーが判読できるディレクティブ プロセッサの説明
パブリック プロパティ Name ディレクティブ プロセッサの名前
パブリック プロパティ Type ディレクティブ プロセッサを実装する型
パブリック プロパティ TypeId (RegistrationAttribute から継承されます。)

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Equals インフラストラクチャ。このインスタンスが、指定したオブジェクトに等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド GetHashCode 対象のインスタンスのハッシュ コードを返します。 (Attribute から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。)
パブリック メソッド Match 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド Register (RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext) をオーバーライドします。)
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)
パブリック メソッド Unregister (RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext) をオーバーライドします。)

このページのトップへ

フィールド

  名前 説明
パブリック フィールド静的メンバー DirectiveProcessorsKeyName ディレクティブ プロセッサの特定のレジストリ キーの名前
パブリック フィールド静的メンバー TextTemplatingKeyName テキスト テンプレートのルート レジストリ キーの名前

このページのトップへ

明示的インターフェイスの実装

  名前 説明
明示的なインターフェイス実装プライベート メソッド _Attribute.GetIDsOfNames 一連の名前を対応する一連のディスパッチ識別子に割り当てます。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.GetTypeInfo オブジェクトの型情報を取得します。この情報はインターフェイスの型情報の取得に使用できます。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.GetTypeInfoCount オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.Invoke オブジェクトによって公開されたプロパティおよびメソッドへのアクセスを提供します。 (Attribute から継承されます。)

このページのトップへ

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

関連項目

Microsoft.VisualStudio.TextTemplating.VSHost 名前空間