iconReference 元素(搜索连接器架构)

可选 <iconReference> 元素指定此位置的自定义图标。 此元素没有属性,也没有子元素。

语法

<!-- 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>

元素信息

Parent 元素 子元素
searchConnectorDescriptionType 元素(搜索连接器架构)  

 

言论

引用的格式必须以适合 PathParseIconLocation 函数的形式指定:(例如,<dll 文件名>,<图标索引>)。

例

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