Partager via


AutoplayType element

Specifies whether the AutoPlay event is a device event or a content event. AutoPlay raises either a Device event for non-volume devices, or a Content event for volume devices.

Usage

<Verb>
  text
</Verb>

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

Element Description

AutoplayHandler

Specifies a Windows Store device app that should appear as the recommended AutoPlay action.

XSD

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

Element information

Minimum supported system

Windows 8
Can be empty Yes

See also

AutoplayHandler

Quickstart: How to register an application for AutoPlay

Auto-launching with AutoPlay (Windows Store apps using JavaScript and HTML)

 

 

Send comments about this topic to Microsoft