選擇性的 <propertyStore> 元素會指定 XML 型 IPropertyStore 的位置,以儲存此搜尋連接器的開啟元數據。 這個項目沒有屬性,而且只有一個子專案。
語法
<!-- propertyStore -->
<xs:complexType name="searchConnectorDescriptionType">
<xs:all>
...
<xs:element name="propertyStore" type="propertyStoreType" minOccurs="0">
<xs:element name="property" minOccurs="0" maxOccurrs="unbounded"/>
</xs:element>
...
</xs:all>
<xs:attribute name="publisher" type="xs:string"/>
<xs:attribute name="product" type="xs:string"/>
</xs:complexType>
元素資訊
| Parent 元素 | 子專案 |
|---|---|
| searchConnectorDescriptionType 元素 (搜尋連接器架構) | propertyStore 的 屬性 元素 (搜尋連接器架構) |
例
下列範例顯示具有兩個 <屬性> 元素的 <propertyStore> 專案。
<propertyStore>
<property name="OpenSearchHTMLRolloverTemplate">https://www.adventureworks.com/Search/?Query={searchTerms}</property>
<property name="isExternal" type="boolean">true</property>
</propertyStore>