TaggedElementPropertyAccessorWrapper.access

Get a property out of component

class TaggedElementPropertyAccessorWrapper(Tagged : TaggedAlgebraic!Y, PropertyAccessorType : PropertyAccessor!(X, Z, KeyType), X, Z, KeyType = string, Y)
const
Tagged
access
(
Tagged component
,
in KeyType property
,
RCIAllocator allocator = theAllocator
)

Parameters

component Tagged

a component which has some properties identified by property.

Return Value

Type: Tagged

FieldType accessed property.

Throws

NotFoundException in case when no requested property is available. InvalidArgumentException in case when passed arguments are somehow invalid for use.

Meta