Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FScriptMapHelper > API/Runtime/CoreUObject/UObject/FScriptMapHelper/GetKeyPtr
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
const uint8 * GetKeyPtr
(
const FIterator Iterator
) const
Remarks
Returns a const uint8 pointer to the Key (first element) in the map. Currently identical to GetPairPtr, but provides clarity of purpose and avoids exposing implementation details of TMap. Pointer to the key, or will fail a check if an invalid iterator is provided.
Parameters
| Name | Description |
|---|---|
| Iterator | A valid iterator of the item to return a pointer to. |