CodeTypeDeclaration.TypeParameters プロパティ

定義

型宣言の型パラメーターを取得します。

public:
 property System::CodeDom::CodeTypeParameterCollection ^ TypeParameters { System::CodeDom::CodeTypeParameterCollection ^ get(); };
public System.CodeDom.CodeTypeParameterCollection TypeParameters { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.CodeDom.CodeTypeParameterCollection TypeParameters { get; }
member this.TypeParameters : System.CodeDom.CodeTypeParameterCollection
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.TypeParameters : System.CodeDom.CodeTypeParameterCollection
Public ReadOnly Property TypeParameters As CodeTypeParameterCollection

プロパティ値

型宣言の型パラメーターを含む CodeTypeParameterCollection

属性

注釈

ジェネリック型宣言には、型パラメーターと呼ばれる 1 つ以上の指定されていない型が含まれています。 型パラメーター名は、ジェネリック宣言の本体内の型を表します。 たとえば、 List<T> クラスのジェネリック宣言には、 T型パラメーターが含まれています。

ジェネリックの詳細については、「 .NET Framework クラス ライブラリのジェネリック」を参照してください

適用対象

こちらもご覧ください