com:Verb (in ExeServer/Class)

The verb to be registered for an application.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com:Extension>

                        <com:ComServer>

                             <com:ExeServer>

                                  <com:Class>

                                       <com:Verbs>

                                            <com:Verb>

Syntax

<com:Verb
    Id = 'An integer with a value between -6 and 1000.'
    DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
    AppendMenuFlag = 'An integer with a value between 0 and 2431.'
    OleVerbFlag = 'An integer with a value between 0 and 3.' >
</com:Verb>

Key

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Id The Id number of the verb. Verbs are numbered consecutively. An integer value in the range of -6 to 1000. Yes
DisplayName Describes how the verb is appended by AppendMenu. A string between 1 and 256 characters in length. This string is localizable. Yes
AppendMenuFlag Indicates how the verb should appear in the menu. An integer value in the range of 0 to 2431. Yes
OleVerbFlag Describes the attributes of a verb. Use either 0 or a value from the OLEVERBATTRIB enumeration. An integer value in the range of 0 to 3. Yes

Child elements

None.

Parent elements

Parent element Description
com:Verbs Specifies the verbs to be registered for an application.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 version 1703 (Build 15063)