NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Type.GetTypeArray

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[];

Parameters

args
An array of objects whose types to determine.

Return Value

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

Exceptions

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.

See Also

Type Class | Type Members | System Namespace