desktop5:ItemType

Contains the type of command to be registered in the context menu.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <desktop4:Extension>

                        <desktop4:FileExplorerContextMenus>

                             <desktop5:ItemType>

Syntax

<desktop5:ItemType
  Type = 'A string with a value between 1 and 64 characters in length that meets one of the requirements specified in the attributes section below.' >

  <!-- Child elements -->
  desktop5:Verb{0,10000}

</desktop5:ItemType>

Key

{}   specific range of occurrences

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Type The file type to associate the context menu handler with. A string between 1 and 64 characters in length. The following string formats are supported: A.) A string that begins with a period (.), has no additional periods, and does not contain these characters: <, >, :, ", /, \, |, or ?, B.) A string that contains the wildcard * character, or C.) The string values Directory or Directory\Background. Yes

Child elements

Child element Description
desktop5:Verb Names and class IDs of the commands registered in the Shell for a file explorer context menu.

Parent elements

Parent element Description
desktop4:FileExplorerContextMenus Registers items for the context menu of File Explorer.

See Also

Creating a Shell Extension Handler

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/5
Minimum OS Version Windows 10 version 1809 (Build 17763)