![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IHCollectionTToArrayTE Method (TE) |
Returns an array containing all of the elements in this collection
the runtime type of the returned array is that of the specified array
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxTE[] ToArray<TE>(
TE[] a
)
Function ToArray(Of TE) (
a As TE()
) As TE()
generic<typename TE>
array<TE>^ ToArray(
array<TE>^ a
)
abstract ToArray :
a : 'TE[] -> 'TE[]
Parameters
- a
- Type: TE
the array into which the elements of this collection are to be
stored, if it is big enough; otherwise, a new array of the same
runtime type is allocated for this purpose
Type Parameters
- TE
- return array type
Return Value
Type:
TEan array containing all of the elements in this collection
See Also