DeviceIconFile element

The DeviceIconFile element specifies the name of the device icon file in the device metadata package.

Usage

<DeviceIconFile>
  text
</DeviceIconFile>

Attributes

There are no attributes.

Text value

Must contain valid characters for a file name, and must end with a .ico suffix.

Child elements

There are no child elements.

Parent elements

ElementDescription

DeviceInfo

The DeviceInfo element is the parent element of the DeviceInfo XML schema.

XSD

<xs:element name="DeviceIconFile" type="tns:DeviceIconFileType" minOccurs="0" />

<xs:simpleType name="DeviceIconFileType">
   <xs:restriction base="xs:string">
   <xs:pattern value=".+\.ico" />
   </xs:restriction>
</xs:simpleType>

Remarks

The DeviceIconFile element is a string specifying the name of the device icon file in the device metadata package.

The data type for the DeviceIcon element is the DeviceIconFileType XML simple type that is used to specify the name of the icon file that is included in a device metadata package. This file name must end with a suffix of .ico.

The DeviceIconFile element is optional. However, we highly recommend that the device metadata package contain a device icon file. This is used to display the photo-realistic image of the device in Devices and Printers.

See also

Device Icon File
Device Metadata Packages
DeviceInfo XML Schema
DeviceInfo

 

 

Send comments about this topic to Microsoft

Show: