共用方式為


templateInfo 元素 (搜尋連接器架構)

這個選擇性 <templateInfo> 元素會指定資料夾類型,以顯示此搜尋連接器查詢的結果。 這個項目沒有屬性,而且只有一個強制子系。

語法

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

元素資訊

Parent 元素 子專案
searchConnectorDescriptionType 元素 (搜尋連接器架構) folderType 元素 (搜尋連接器架構)

 

言論

如果您未在 <templateInfo> 元素中指定特定資料夾類型,Windows 會使用一般搜尋連接器資料夾類型 {8FAF9629-1980-46FF-8023-9DCEAB9C3EE3}。

templateInfo 元素的範例

<!-- templateInfo -->
<templateInfo>
    <folderType>{8FAF9629-1980-46FF-8023-9DCEAB9C3EE3}</folderType>
</templateInfo