Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetGenericArgument

abstract virtual func GetGenericArgument(index: int) -> TypeInfo

Declaring type: TypeInfo
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn

Defined by TypeInfo.GetGenericArgument · Required implementation (no default).

Interface implementation: Required implementation (no default).

Gets a generic argument by index.

Parameters

Name Type Description
index Int32 Zero-based argument index.

Return value

TypeInfo

The argument descriptor; an out-of-range index is a runtime fault.