AutoPlayContent
Recolher sumário
Expandir sumário

AutoPlayContent

Declares an app extensibility point of type windows.autoPlayContent. The app provides the specified AutoPlay content actions.

Hierarquia de elementos

<Package>
<Applications>
<Application>
<Extensions>
<Extension>
<AutoPlayContent>

Sintaxe

<AutoPlayContent>

  <!-- Child elements -->
  LaunchAction{1,1000}

</AutoPlayContent>

Chave

{}   intervalo específico de ocorrências

Attributes and Elements

Attributes

None.

Child Elements

Child ElementDescription
LaunchAction (in type: CT_AutoPlayContent)

Describes an AutoPlay content action.

 

Parent Elements

Parent ElementDescription
Extension (in type: CT_ApplicationExtensions)

Declares an extensibility point for the app.

 

Comentários

When a volume-based device is connected to a computer or a disc is inserted into a CD or DVD drive, the system raises an AutoPlay content event. This extensibility point enables your app to be listed as an AutoPlay choice for one or more AutoPlay content events.

You can use any value for the Verb attribute except, open, which is reserved.

Exemplos


<Extension Category="windows.autoPlayContent">
  <AutoPlayContent>
    <LaunchAction Verb="show" ActionDisplayName="Show Pictures" ContentEvent="ShowPicturesOnArrival"/>
  </AutoPlayContent>
</Extension>

Consulte também

Tasks
Auto-launching with AutoPlay
Concepts
App contracts and extensions

Requisitos

Namespace

http://schemas.microsoft.com/appx/2010/manifest

 

 

Mostrar:
© 2016 Microsoft