TMap::RemoveAndCopyValue

Syntax

bool RemoveAndCopyValue
(
    KeyInitType Key,
    ValueType & OutRemovedValue
)

Remarks

Remove the pair with the specified key and copies the value that was removed to the ref parameter

Returns

whether or not the key was found

Parameters

Parameter

Description

Key

The key to search for

OutRemovedValue

If found, the value that was removed (not modified if the key was not found)

References

Module

Core

Header

Runtime/Core/Public/Containers/Map.h