Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FInstancedPropertyBag
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EPropertyBagAlterationResult AddContainerProperty
(
const FName InName, |
Adds a new container property to the bag. | StructUtils/PropertyBag.h | |
EPropertyBagAlterationResult AddContainerProperty
(
const FName InName, |
Adds a new container property to the bag. | StructUtils/PropertyBag.h |
AddContainerProperty(const FName, const EPropertyBagContainerType, const EPropertyBagPropertyType, const UObject *, bool)
Description
Adds a new container property to the bag. If property of same name already exists, it will be replaced with the new type.
| Name | AddContainerProperty |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include Path | #include "StructUtils/PropertyBag.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/StructUtils/PropertyBag.cpp |
EPropertyBagAlterationResult AddContainerProperty
(
const FName InName,
const EPropertyBagContainerType InContainerType,
const EPropertyBagPropertyType InValueType,
const UObject * InValueTypeObject,
bool bOverwrite
)
The result of the alteration.
Parameters
| Name | Remarks |
|---|---|
| InName | Name of the new property |
| InContainerType | Type of the new container |
| InValueType | Type of the new property |
| InValueTypeObject | Type object (for struct, class, enum) of the new property |
| bOverwrite | Overwrite the property if it already exists. |
AddContainerProperty(const FName, const FPropertyBagContainerTypes, const EPropertyBagPropertyType, UObject *, bool)
Description
Adds a new container property to the bag. If property of same name already exists, it will be replaced with the new type.
| Name | AddContainerProperty |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include Path | #include "StructUtils/PropertyBag.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/StructUtils/PropertyBag.cpp |
EPropertyBagAlterationResult AddContainerProperty
(
const FName InName,
const FPropertyBagContainerTypes InContainerTypes,
const EPropertyBagPropertyType InValueType,
UObject * InValueTypeObject,
bool bOverwrite
)
The result of the alteration.
Parameters
| Name | Remarks |
|---|---|
| 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 |
| bOverwrite | Overwrite the property if it already exists. |