PropertySetter.set

Set a field or property of CompositeType.

interface PropertySetter(CompositeType, FieldType = CompositeType, KeyType = string)
const
void
set
(
ref CompositeType composite
,
FieldType value
,
KeyType property
,
RCIAllocator allocator = theAllocator
)

Parameters

composite CompositeType

composite that will store value

value FieldType

actual value that is assigned to a field in composite

property KeyType

the identity of field in composite

Throws

InvalidArgumentException when value or composite is not what was expected

Meta