Table of contents
TOC
Collapse the table of content
Expand the table of content

AutoplayType

Last Updated: 1/24/2017

The AutoplayType element specifies whether the AutoPlay event is a device event or a content event. AutoPlay determines the type of device and raises either a Device event for non-volume devices, or a Content event for volume devices.

Usage

<AutoplayType>
  type
</AutoplayType>

Attributes

There are no attributes.

Text value

A string that has either the value "Device" or the value "Content".

Child elements

There are no child elements.

Parent elements

ElementDescription

AutoplayHandler

Specifies a Windows Store device app that should appear as the recommended AutoPlay action when a user plugs in a device.

XSD

<xs:element name="AutoplayType" type="tns:AutoplayTypeType" />

<xs:simpleType name="AutoplayTypeType">
  <xs:restriction base="xs:string">
     <xs:enumeration value="Device" />
     <xs:enumeration value="Content" />
  </xs:restriction>
</xs:simpleType>

Remarks

The AutoplayType element is optional.

Send comments about this topic to Microsoft

© 2017 Microsoft