Open sandboxFocus

Method AddTypeParameter

AddTypeParameter(string)

Appends a type parameter to the delegate.

Declaration
ITypeParameterBuilder AddTypeParameter(string name)
Parameters
Type Name Description
string name

The name of the type parameter.

Returns
Type Description
ITypeParameterBuilder

An ITypeParameterBuilder that allows you to complete the construction of the type parameter.

Remarks

A delegate is, with an interface, one of the two kinds of type whose type parameters may declare variance, so Variance is meaningful on the value this method returns.