CodeTypeReference.TypeArguments Property

Definition

Gets the type arguments for the current generic type reference.

public:
 property System::CodeDom::CodeTypeReferenceCollection ^ TypeArguments { System::CodeDom::CodeTypeReferenceCollection ^ get(); };
public System.CodeDom.CodeTypeReferenceCollection TypeArguments { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.CodeDom.CodeTypeReferenceCollection TypeArguments { get; }
member this.TypeArguments : System.CodeDom.CodeTypeReferenceCollection
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.TypeArguments : System.CodeDom.CodeTypeReferenceCollection
Public ReadOnly Property TypeArguments As CodeTypeReferenceCollection

Property Value

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

Attributes

Remarks

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.

Applies to