Sitecore 5.0 API

MainUtil.ConvertArray Method 

Converts an array to another type.

[Visual Basic]
Public Shared Function ConvertArray( _
   ByVal array As Object(), _
   ByVal elementType As Type _
) As Object
[C#]
public static object ConvertArray(
   object[] array,
   Type elementType
);

Parameters

array
An array of objects.
elementType

Return Value

The converted array of objects.

See Also

MainUtil Class | Sitecore Namespace