Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ConverterCollections..::.ConvertArray Method (array<Object>[]()[], IConverter, array<Object>[]()[])
ConverterCollections Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
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: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public static Object[] ConvertArray(
    	Object[] aoSrc,
    	IConverter conv,
    	Object[] aoDest
    )

#### Parameters

aoSrc
  Type: array< System..::.Object >[]()[]
  An array of objects to convert.

conv
  Type: Tangosol.Util..::.IConverter
  The IConverter to use to convert the objects.

aoDest
  Type: array< System..::.Object >[]()[]
  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

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

ConverterCollections Class
ConvertArray Overload
Tangosol.Util Namespace