Share via


TemplateWizardSecurityAttribute クラス

テンプレート ウィザードの拡張機能が、指定したテンプレートで呼び出された場合のみ実行するように指定します。

継承階層

System.Object
  System.Attribute
    Microsoft.VisualStudio.TemplateWizard.TemplateWizardSecurityAttribute

名前空間:  Microsoft.VisualStudio.TemplateWizard
アセンブリ:  Microsoft.VisualStudio.TemplateWizardInterface (Microsoft.VisualStudio.TemplateWizardInterface.dll 内)

構文

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

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

コンストラクター

  名前 説明
パブリック メソッド TemplateWizardSecurityAttribute テンプレート ウィザードの拡張機能が、指定したテンプレートで呼び出された場合のみ実行するように指定します。

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ CallingTemplate テンプレート ウィザードの拡張機能の呼び出しが許可されたテンプレートの名前を取得します。
パブリック プロパティ TypeId 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 (Attribute から継承されます。)

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Equals インフラストラクチャ。 このインスタンスが、指定したオブジェクトに等しいかどうかを示す値を返します。 (Attribute から継承されます。)
プロテクト メソッド Finalize オブジェクトがガベージ コレクションにより収集される前に、そのオブジェクトがリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。)
パブリック メソッド GetHashCode 対象のインスタンスのハッシュ コードを返します。 (Attribute から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。)
パブリック メソッド Match 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。)
プロテクト メソッド MemberwiseClone 現在の Object の簡易コピーを作成します。 (Object から継承されます。)
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)

このページのトップへ

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

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

このページのトップへ

スレッド セーフ

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

参照

参照

Microsoft.VisualStudio.TemplateWizard 名前空間