Skip to main content

State (Storage Keyword)

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.

FeedbackOpens in a new tab