<simpleLocation> 요소는 파일 시스템 기반 또는 프로토콜 처리기 기반 검색 커넥터의 위치를 지정합니다. 이 요소에는 두 개의 자식 요소가 있고 특성은 없습니다.
통사론
<!-- 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 요소(Search Connector 스키마) | simpleLocation url 요소 (검색 커넥터 스키마) |
serialized: 이 요소는 <url> 요소에 정의된 위치를 가리키는 base64로 인코딩된 ShellLink를 포함합니다. Windows 7은 <url> 요소의 값에서 ShellLink를 만들고 이 라이브러리의 첫 번째 로드에서 이 필드를 제대로 업데이트하므로 작성자가 비워 두어야 합니다. |
발언
이 요소는 위치가 파일 시스템에 있거나 커넥터가 알려진 프로토콜 처리기(예: mapi:)인 경우 locationProvider><대신 사용할 수 있습니다. <simpleLocation> 있는 경우 <locationProvider> 요소가 없어야 합니다. 웹 서비스 공급자 검색 커넥터의 경우 <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>