TMapBase::FindRef

Find the value associated with a specified key.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

ValueType FindRef
(
    KeyConstPointerType Key
) const

Remarks

Find the value associated with a specified key.

Returns

The value associated with the specified key, or the default value for the ValueType if the key isn't contained in this map.

Parameters

Parameter

Description

Key

The key to search for.