可选的布尔 <isDefaultSaveLocation> 元素指定搜索连接器中所述的位置是否应用作默认保存位置。 此元素没有子元素,也没有属性。
语法
<!-- isDefaultSaveLocation -->
<xs:complexType name="searchConnectorDescriptionType">
<xs:all>
...
<xs:element name="isDefaultSaveLocation" type="xs:boolean" minOccurs="0"/>
...
</xs:all>
<xs:attribute name="publisher" type="xs:string"/>
<xs:attribute name="product" type="xs:string"/>
</xs:complexType>
元素信息
| Parent 元素 | 子元素 |
|---|---|
| searchConnectorDescriptionType 元素(搜索连接器架构) |
言论
当用户选择保存项时,Windows 资源管理器会将该项保存到 <simpleLocation> 元素中指定的位置。 用户可以使用搜索连接器的“属性”对话框更改此设置。
例
<?xml version="1.0" encoding="UTF-8"?>
<searchConnectorDescription xmlns="http://schemas.microsoft.com/windows/2009/searchConnector">
...
<isDefaultSaveLocation>true</isDefaultSaveLocation>
...
</searchConnectionDescription>