CodeTypeDeclaration::TypeParameters Property
.NET Framework (current version)
Gets the type parameters for the type declaration.
Assembly: System (in System.dll)
public: [ComVisibleAttribute(false)] property CodeTypeParameterCollection^ TypeParameters { CodeTypeParameterCollection^ get(); }
Property Value
Type: System.CodeDom::CodeTypeParameterCollection^A CodeTypeParameterCollection that contains the type parameters for the type declaration.
A generic type declaration contains one or more unspecified types known as type parameters. A type parameter name stands for the type within the body of the generic declaration. For example, the generic declaration for the List<T> class contains the type parameter T.
For more information on generics, see Generics in the .NET Framework Class Library (C# Programming Guide).
.NET Framework
Available since 2.0
Available since 2.0
Show: