imageLink url 元素 (搜索连接器架构)

<url> 元素指定此搜索连接器缩略图的 URL。 如果 <存在 imageLink> ,则此元素是必需的。 它没有子元素,也没有属性。

语法

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

元素信息

父元素 子元素
imageLink 元素 (搜索连接器架构)  

 

备注

该值可以是本地文件系统路径或 URL。 图像文件可以是 Windows 7 (PNG、BMP、JPG、GIF) 支持的任何基本图像类型。

imageLinkurl 元素的示例

<imageLink>
    <imageLinkurl>%ProgramFiles%\Example\examplethumbnail.jpg</imageLinkurl>
</imageLink>