Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVariant
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
U * TryGet () |
Get a pointer to the held value if the held type is the same as the one specified | Misc/TVariant.h | |
const U * TryGet () |
Get a pointer to the held value if the held type is the same as the one specified | Misc/TVariant.h |
TryGet()
Description
Get a pointer to the held value if the held type is the same as the one specified
| Name | TryGet |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/TVariant.h |
| Include Path | #include "Misc/TVariant.h" |
template<typename U>
U * TryGet()
TryGet()
Description
Get a pointer to the held value if the held type is the same as the one specified
| Name | TryGet |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/TVariant.h |
| Include Path | #include "Misc/TVariant.h" |
template<typename U>
const U * TryGet() const