Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BaseShadow.MakeArrayType Method

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.

Show:
© 2015 Microsoft