com5:Verb

Description

The verb to be registered for an application.

Element Hierarchy

<Package>

     <Applications>

          <Application>

               <Extensions>

                    <com4:Extension>

                         <com4:ComServer>

                              <com5:InProcessServer>

                                  <com5:Class> (in InProcessServer)

                                        <Verbs>

                                             <com5:Verb>

                              <com5:InProcessHandler>

                                   <com5:Class> (in InProcessHandler)

                                       <Verbs>

                                             <com5:Verb>

     <Extensions>

          <com4:Extension>

               <com4:ComServer>

                    <com5:InProcessServer>

                        <com5:Class> (in InProcessServer)

                              <Verbs>

                                   <com5:Verb>

                    <com5:InProcessHandler>

                         <com5:Class> (in InProcessHandler)

                             <Verbs>

                                   <com5:Verb>

Syntax

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

Attributes

Attribute Description Data type Required
Id The Id number of the verb. Verbs are numbered consecutively. An integer between -6 and 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 between 0 and 2431. Yes
OleVerbFlag Describes the attributes of a verb. Use either 0 or a value from the OLEVERBATTRIB enumeration. An integer between 0 and 3. Yes

Parent elements

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

Requirements

Item Value
com5 http://schemas.microsoft.com/appx/manifest/com/windows10/5
Minimum OS Version Windows 11 version 21H2 (Build 22000)