Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TArrayView
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include | #include "Containers/ArrayView.h" |
template<typename KeyType>
SizeType IndexOfByKey
&40;
const KeyType & Key
&41; const
Remarks
Finds an item by key (assuming the ElementType overloads operator== for the comparison). Index to the first matching element, or INDEX_NONE if none is found.
Parameters
| Name | Description |
|---|---|
| Key | The key to search by. |