System.CodeDom.CodeTypeParameter Class

Represents a type parameter of a generic type or method.

See Also: CodeTypeParameter Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeTypeParameter : CodeObject

Remarks

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.

Requirements

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