com:DefaultIcon (in SurrogateServer/Class)

Description

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 integer type. >
</com:DefaultIcon>

Key

? optional (zero or one)

Attributes

Attribute Description Data type Required
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 integer type. No

Remarks

Examples

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/com/windows10