Share via


Component element

The required Component element identifies the component described by the current DeviceCondition or ConditionHistoryEntry element.

Component is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2005/05/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wprt:Component>
  child elements
</wprt:Component>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

Group

Specifies the component group that is described by the current DeviceCondition or ConditionHistoryEntry element.

Name Element for parent Component

Specifies the name of the component described by the current DeviceCondition or ConditionHistoryEntry element.

Parent elements

Element Description

ConditionHistoryEntry

Provides details about one of the past conditions on the printer.

DeviceCondition

Provides details about one of the printer's current conditions.

Remarks

Both the Group and Name child elements of a component are needed to identify the exact location of the problem.

The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that your name references apply to child elements in the correct namespace.

<wprt:Component>
 <wprt:Group> data </wprt:Group>
 <wprt:Name Element for parent Component> data </wprt:Name Element for parent Component>
</wprt:Component>

See also

ConditionHistoryEntry

DeviceCondition

Name Element for parent Component

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012