Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/StructUtils > API/Runtime/CoreUObject/StructUtils/FInstancedPropertyBag > API/Runtime/CoreUObject/StructUtils/FInstancedPropertyBag/AddProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include | #include "StructUtils/PropertyBag.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/StructUtils/PropertyBag.cpp |
void AddProperty
(
const FName InName,
const FProperty * InSourceProperty
)
Remarks
Adds a new property to the bag. Property type duplicated from source property to. If property of same name already exists, it will be replaced with the new type.
Parameters
| Name | Description |
|---|---|
| InName | Name of the property to add |
| InSourceProperty | The property to add |