TMultiMap::MultiFind

Finds all values associated with the specified key.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

template<typename Allocator>
void MultiFind
(
    KeyInitType Key,
    TArray< ValueType, Allocator > & OutValues,
    bool bMaintainOrder
) const

Remarks

Finds all values associated with the specified key.

Parameters

Parameter

Description

Key

The key to find associated values for.

OutValues

Upon return, contains the values associated with the key.

bMaintainOrder

true if the Values array should be in the same order as the map's pairs.

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