com4:Verb

The verb to be registered for an application.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com4:SurrogateServer>

                        <com4:Class>

                             [<com4:Verbs](element-com4-verbs.md)

                                  <com4:Verb>

Syntax

<com4: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.' />

Attributes and elements

Attributes

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

Child elements

None.

Parent elements

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

Requirements

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