<simpleLocation> 要素は、ファイル システム ベースまたはプロトコル ハンドラー ベースの検索コネクタの場所を指定します。 この要素には 2 つの子要素があり、属性はありません。
構文
<!-- simpleLocation -->
<xs:complexType name="searchConnectorDescriptionType">
<xs:all>
...
<xs:element name="simpleLocation" type="shellLinkType" minOccurs="0">
<xs:all>
<xs:element name="url" type="xs:anyURI"/>
<xs:element name="serialized" minOccurs="0"/>
</xs:all>
</xs:element>
...
</xs:all>
<xs:attribute name="publisher" type="xs:string"/>
<xs:attribute name="product" type="xs:string"/>
</xs:complexType>
要素情報
Parent 要素 | 子要素 |
---|---|
searchConnectorDescriptionType 要素 (検索コネクタ スキーマ) | simpleLocation url 要素 (検索コネクタ スキーマ) |
serialized: この要素には、<url> 要素で定義されている場所を指す base64 でエンコードされた ShellLink が含まれています。 Windows 7 では、<url> 要素の値から ShellLink が作成され、このライブラリの最初の読み込み時にこのフィールドが適切に更新されるため、作成者は空のままにする必要があります。 |
備考
この要素は、場所がファイル システム上にあるか、コネクタが既知のプロトコル ハンドラー (mapi: など) である場合に、locationProvider><代わりに使用できます。 simpleLocation><存在する場合は、<locationProvider> 要素が存在してはなりません。 Web サービス プロバイダー検索コネクタの場合は、代わりに <locationProvider> 要素を使用します。
例
<?xml version="1.0" encoding="UTF-8"?>
<searchConnectorDescription xmlns="http://schemas.microsoft.com/windows/2009/searchConnector">
...
<simpleLocation>
<url>mapi://{S-1-5-21-2127521184-1604012920-1887927527-2779359}/</url>
</simpleLocation>
...
</searchConnectionDescription>