com:DefaultIcon (in SurrogateServer/Class)

Provides default icon information for iconic presentations of objects.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com:Extension>

                        <com:ComServer>

                             <com:SurrogateServer>

                                  <com:Class>

                                       <com:DefaultIcon>

Syntax

<com:DefaultIcon
  Path = 'A string between 1 and 256 characters in length that cannot contain these characters: <, >;, :, ", |, ?, or *.'
  ResourceIndex = 'An optional integer value.' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Path The full path to the executable name of the server application. A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. Yes
ResourceIndex The integer at the end of the path, separated from the path by a comma, e.g., C:\Foo\Bar\Baz.exe,5. See the nIconIndex parameter in ExtractIcon for more details. An optional integer value. No

Child elements

None.

Parent elements

Parent element Description
com:Class Defines a SurrogateServer class registration.

Requirements

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