Navigation
API > API/Plugins > API/Plugins/StructUtils > API/Plugins/StructUtils/FInstancedPropertyBag > API/Plugins/StructUtils/FInstancedPropertyBag/AddContainerProperty
References
| Module | StructUtils |
| Header | /Engine/Plugins/Experimental/StructUtils/Source/StructUtils/Public/PropertyBag.h |
| Include | #include "PropertyBag.h" |
| Source | /Engine/Plugins/Experimental/StructUtils/Source/StructUtils/Private/PropertyBag.cpp |
void AddContainerProperty
&40;
const FName InName,
const FPropertyBagContainerTypes InContainerTypes,
const EPropertyBagPropertyType InValueType,
UObject &42; InValueTypeObject
&41;
Remarks
Adds a new container property to the bag. If property of same name already exists, it will be replaced with the new type.
Parameters
| Name | Description |
|---|---|
| InName | Name of the new property |
| InContainerTypes | List of (optionally nested) containers to create |
| InValueType | Type of the new property |
| InValueTypeObject | Type object (for struct, class, enum) of the new property |