Edit

com:DefaultIcon

Provides default icon information for iconic presentations of objects.

Element hierarchy

<Package>
   └─ <Extensions>
      └─ <com:Extension>
         └─ <com:ComServer>
            └─ <com:ExeServer>
               └─ <com:Class>
                  └─ <com:DefaultIcon>
            └─ <com:SurrogateServer>
               └─ <com:Class>
                  └─ <com:DefaultIcon>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <com:Extension>
               └─ <com:ComServer>
                  └─ <com:ExeServer>
                     └─ <com:Class>
                        └─ <com:DefaultIcon>
                  └─ <com:SurrogateServer>
                     └─ <com:Class>
                        └─ <com:DefaultIcon>

Syntax

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

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 (for example, C:\Foo\Bar\Baz.exe,5). See the nIconIndex parameter in ExtractIcon for more details. An optional integer. No

Child elements

None.

Parent elements

Parent element Description
com:Class Defines an ExeServer class registration.
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)

Remarks

Examples