Gets the types of the objects in the specified array.
[Visual Basic] Public Shared Function GetTypeArray( _ ByVal args() As Object _ ) As Type () [C#] public static Type[] GetTypeArray( object[] args ); [C++] public: static Type* GetTypeArray( Object* args[] ) []; [JScript] public static function GetTypeArray( args : Object[] ) : Type[];
An array of Type objects representing the types of the corresponding elements in args.
Exception Type | Condition |
---|---|
ArgumentNullException | args is a null reference (in Visual Basic Nothing). |
SecurityException | One of the requested Type objects is non-public and the caller does not have ReflectionPermission to reflect non-public objects outside the current assembly. |
TargetInvocationException | The class initializers are invoked and at least one throws an exception. |