TArray::Insert

Syntax

int32 Insert
(
    const ElementType * Ptr,
    int32 Count,
    int32 Index
)

Remarks

Inserts a raw array of elements at a particular index in the TArray .

Returns

The index of the first element inserted.

Parameters

Parameter

Description

Ptr

A pointer to an array of elements to add.

Count

The number of elements to insert from Ptr.

Index

The index to insert the elements at.

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h