Skip to main content
Previous sectionNext section

State

Specifies the data definition used for a serial object.

Synopsis

<State>state</State>

Value

The value of this element is the name of a data definition within this storage definition.

Description

For a serial (embedded) class, this keyword indicates which data definition is used to define the serialized state of the object (how the object’s properties are arranged when they are serialized). This is also the default DATA definition to which the default structure generator will add unstored properties.

Default Value

The default value for the <State> element is an empty string.