iconReference Element (Search Connector Schema)

[This documentation is preliminary and is subject to change.]

The optional <iconReference> element specifies a custom icon for this location. This element has no attributes and no child elements.

Syntax

<!-- iconReference -->
    <xs:complexType name="searchConnectorDescriptionType">
        <xs:all>
        ...
            <xs:element name="iconReference" type="xs:string" minOccurs="0"/>
        ...
        </xs:all>
        <xs:attribute name="publisher" type="xs:string"/>
        <xs:attribute name="product" type="xs:string"/>
    </xs:complexType>

Element Information

Parent Element Child Elements
searchConnectorDescriptionType Element (Search Connector Schema)  

Remarks

The format of the reference must be specified in a form suitable for the PathParseIconLocation function: (for example, <dll file name>,<icon index>).

Example

<?xml version="1.0" encoding="UTF-8"?>
<searchConnectorDescription xmlns="https://schemas.adventureworks.com/searchConnector">
    ...
    <iconReference>example.dll,-1002</iconReference>
    ...
</searchConnectionDescription>