TMapBase::Add

Set the value associated with a key.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Map.h

Include

#include "Containers/Map.h"

Syntax

ValueType & Add
(
    const TTuple< KeyType, ValueType > & InKeyValue
)

Remarks

Set the value associated with a key.

Returns

A reference to the value as stored in the map. The reference is only valid until the next change to any key in the map.

Parameters

Parameter

Description

InKeyValue

A Tuple containing the Key and Value to associate together

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss