Navigation
API > API/Runtime > API/Runtime/Analytics > API/Runtime/Analytics/FAnalyticsPropertyStore > API/Runtime/Analytics/FAnalyticsPropertyStore/Set
- IAnalyticsPropertyStore::Set()
- FAnalyticsPropertyStore::Set()
References
| Module | Analytics |
| Header | /Engine/Source/Runtime/Analytics/Analytics/Public/AnalyticsPropertyStore.h |
| Include | #include "AnalyticsPropertyStore.h" |
| Source | /Engine/Source/Runtime/Analytics/Analytics/Private/AnalyticsPropertyStore.cpp |
virtual EStatusCode Set
&40;
const FString & Key,
int32 Value
&41;
Remarks
Adds or updates the specified key/value pair. If the key doesn't exist, the key/value pair is added. If the key already exists, the value is updated if the stored value and the specified value types match. EStatusCode::Success if the key was added or updated, EStatusCode::BadType if the value type did not match the current value type.
Parameters
| Name | Description |
|---|---|
| Key | The property name to add or update. |
| Value | The property value to add or update. |