此可选 <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