Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Shared Function MakeArrayType ( _
elementType As Type, _
rank As Integer _
) As Type
public static Type MakeArrayType(
Type elementType,
int rank
)
public:
static Type^ MakeArrayType(
Type^ elementType,
int rank
)
static member MakeArrayType :
elementType:Type *
rank:int -> Type
public static function MakeArrayType(
elementType : Type,
rank : int
) : Type
Parameters
elementType
Type: TypeThe element type for the array.
rank
Type: Int32The number of dimensions for the array.
Return Value
Type: Type
A Type object that represents an array of the specified type, with the specified number of dimensions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.