Criteria for modifying a system attribute value

The criteria object specifies the new value for the system attribute.

The criteria object has three properties: Entity, Key, and SystemData. These are described in the following table.

Table: Criteria object properties

Property

Description

Type

Value

criteria.Entity

Specifies the entity of the system attribute.

Together with Key, this specifies the system attribute to modify.

For more information about entities, see section System attributes.

string

For a complete list of supported entities, see section Supported system attributes (entities and keys).

For example: "Display"

criteria.Key

Specifies the key of the system attribute. The available keys depend on the entity.

Together with Entity, this specifies the system attribute to modify.

For more information about keys, see section System attributes.

string

For a complete list of supported keys per entity, see the Key column of the tables in section Supported system attributes (entities and keys).

For example: "Wallpaper"

criteria.SystemData

Specifies the new value for the system attribute.

The SystemData object has one or more properties that together represent the system attribute value. The exact set of properties depends on the system attribute (specifically, on the system data type used for input).

For more information about system attribute values, see section Supported system attributes (entities and keys).

object

The object properties depend on the system attribute. See the Input column cell for the appropriate system attribute in section Supported system attributes (entities and keys).

For example, the Display - Wallpaper system attribute takes StringData information as input for SetInfo:

SystemData.StringData = "C://Data//Others//wallpaper.jpeg"