TMultiMap::FindPair

Find an association between a specified key and value. (const)

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

const ValueType * FindPair
(
    KeyInitType Key,
    ValueInitType Value
) const

Remarks

Find an association between a specified key and value. (const)

Returns

If the map contains a matching association, a pointer to the value in the map is returned. Otherwise nullptr is returned. The pointer is only valid as long as the map isn't changed.

Parameters

Parameter

Description

Key

The key to find.

Value

The value to find.

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