Click or drag to resize

ConverterCollectionsConvertArray Method (Object, IConverter, Object)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Convert the contents of the passed source array into an array with the element type of the passed destination array, using the destination array itself if it is large enough, and placing a null in the first unused element of the destination array if it is larger than the source array.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static Object[] ConvertArray(
	Object[] aoSrc,
	IConverter conv,
	Object[] aoDest
)

Parameters

aoSrc
Type: SystemObject
An array of objects to convert.
conv
Type: Tangosol.UtilIConverter
The IConverter to use to convert the objects.
aoDest
Type: SystemObject
The array to use to place the converted objects in if large enough, otherwise the array from which to obtain the element type to create a new array that is large enough.

Return Value

Type: Object
An array whose component type is the same as the passed destination array and whose contents are the converted objects.
Remarks
This helper method is intended to support the functionality of CopyTo(Array, Int32).
See Also