TMapBuilder::Add

Adds a key-value pair to the map.

Choose your operating system:

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.