TypeGetGenericArguments Method |
Returns an array of
Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual Type[] GetGenericArguments()
Return Value
Type:
TypeAn array of
Type objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.
Exceptions Exception | Condition |
---|
NotSupportedException | The invoked method is not supported in the base class. Derived classes must provide an implementation. |
See Also