CodeTypeReference.TypeArguments Property

 

Gets the type arguments for the current generic type reference.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

[ComVisibleAttribute(false)]
public CodeTypeReferenceCollection TypeArguments { get; }

Property Value

Type: System.CodeDom.CodeTypeReferenceCollection

A CodeTypeReferenceCollection containing the type arguments for the current CodeTypeReference object.

The TypeArguments property is a collection of type references to be substituted for the type parameter references of the current generic type. The collection contains all the type arguments for all nested types. For an example, see the BaseType property.

.NET Framework
Available since 2.0
Return to top
Show: