System.CodeDom.CodeTypeParameter Class

Represents a type parameter of a generic type or method.

See Also: CodeTypeParameter Members


public class CodeTypeParameter : CodeObject


The System.CodeDom.CodeTypeParameter class represents a type parameter in the declaration of a generic type or method.

A generic type or method 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`1 class contains the type parameter T.

For more information on generics, see Generics in the .NET Framework Class Library.


Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0