System.Type.GetTypeArray Method

Gets the types of the objects in the specified array.

Syntax

public static Type[] GetTypeArray (object[] args)

Parameters

args
An array of objects whose types to determine.

Returns

An array of Type objects representing the types of the corresponding elements in args.

Exceptions

TypeReason
ArgumentNullException args is null.
System.Reflection.TargetInvocationExceptionThe type initializers were invoked and at least one threw an exception.

Remarks

Documentation for this section has not yet been entered.

Permissions

TypeReason
System.Security.Permissions.ReflectionPermissionRequires permission to retrieve information on non-public members of types in loaded assemblies. See System.Security.Permissions.ReflectionPermissionFlag.TypeInformation.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0