TMapBuilder::Add

Adds a key-value pair to the map.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/MapBuilder.h"

Syntax

TMapBuilder & Add
(
    KeyType InKey,
    ValueType InValue
)

Remarks

Adds a key-value pair to the map.

Returns

This instance (for method chaining).

Parameters

Parameter

Description

InKey

The key of the pair to add.

InValue

The value of the pair to add.

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