Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BaseShadow.MakeArrayType Method (Type, Int32)

 

Returns a Type object that represents an array of the specified type, with the specified number of dimensions.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public static Type MakeArrayType(
	Type elementType,
	int rank
)

Parameters

elementType
Type: System.Type

The element type for the array.

rank
Type: System.Int32

The number of dimensions for the array.

Return Value

Type: System.Type

A Type object that represents an array of the specified type, with the specified number of dimensions.

Return to top
Show: