TSortedMap::Find

Returns the value associated with a specified key.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/SortedMap.h"

Syntax

ValueType * Find
(
    KeyConstPointerType Key
)

Remarks

Returns the value associated with a specified key.

Returns

A pointer to the value associated with the specified key, or nullptr if the key isn't contained in this map. The pointer (only valid until the next change to any key in the map).

Parameters

Parameter

Description

Key

The key to search for.