public Object ArrayToVariantArray(
Object SuppliedObject
)Public Function ArrayToVariantArray (
SuppliedObject As Object
) As Objectpublic:
virtual Object^ ArrayToVariantArray(
Object^ SuppliedObject
) sealedA VBScript Camera usage example is: Image = UTIL.ArrayToVariantArray(CAMERA.ImageArray) This example assumes that the camera and utilities objects have already been created with CreateObject statements.
The supported .NET types are:
The function supports arrays with 1 to 5 dimensions (Rank = 1 to 5). If the supplied array already contains elements of Variant type, it is returned as-is without any processing.
| InvalidValueException | If the supplied array contains elements of an unsuported Type. |
| InvalidValueException | If the array rank is outside the range 1 to 5. |
| InvalidValueException | If the supplied object is not an array. |