Click or drag to resize

TypeRefCreate Method (Type, Int32)

Construct a TypeRef from a Type. Use this factory method if the Type might be a generic parameter (requiring an OpenTypeParameterRef/TypeParameterRef) or expression tree (requiring an ExpressionTreeRef) or an array of one of those, otherwise you may use a 'new TypeRef()' constructor for efficiency.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static TypeRef Create(
	Type type,
	params int[] arrayRanks
)

Parameters

type
Type: SystemType
arrayRanks
Type: SystemInt32

Return Value

Type: TypeRef
See Also