System 2.0.0.0 4.0.0.0 System.CodeDom.CodeObject System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch) System.Runtime.InteropServices.ComVisible(true)

The 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 class contains the type parameter .

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

Represents a type parameter of a generic type or method.

- Constructor
  2.0.0.0
  4.0.0.0

  If you use this constructor, you should set the property.

  Initializes a new instance of the class.

- Constructor
  2.0.0.0
  4.0.0.0
  To be added.

  Initializes a new instance of the class with the specified type parameter name.

  The name of the type parameter.
- Property
  2.0.0.0
  4.0.0.0
  System.CodeDom.CodeTypeReferenceCollection To be added.

  A constraint specifies the type that the type parameter must derive from or implement.

  Gets the constraints for the type parameter.

- Property
  2.0.0.0
  4.0.0.0
  System.CodeDom.CodeAttributeDeclarationCollection To be added.

  This property can be used to add metadata attributes to the declaration of the type parameter.

  This property is null by default and should be checked before referencing.

  Gets the custom attributes of the type parameter.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added.

  A constructor constraint indicates to the compiler that the type parameter exposes a default public constructor (a public constructor with no parameters).

  Gets or sets a value indicating whether the type parameter has a constructor constraint.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets the name of the type parameter.