Open sandboxFocus

Method AsIType

AsIType(Type)

Gets the IType that represents a reflection Type in the current compilation. This method is equivalent to GetType(Type).

Declaration
public static IType AsIType(this Type type)
Parameters
Type Name Description
Type type

The reflection type, for instance typeof(int[]).

Returns
Type Description
IType