共用方式為


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

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

Syntax

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