libraryDescription-element (biblioteksschema)
Elementet <libraryDescription> är containern på den översta nivån för biblioteksdefinitionen. Det här elementet krävs.
Syntax
<!-- libraryDescription -->
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="https://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="commonTypes-ms.xsd"/>
<xs:element name="libraryDescription">
<xs:complexType>
<xs:all>
<xs:element name="name" type="xs:string"/>
<xs:element name="ownerSID" minOccurs="0"/>
<xs:element name="version" type="xs:int" minOccurs="0"/>
<xs:element name="isLibraryPinned" type="xs:boolean" default="false" minOccurs="0"/>
<xs:element name="iconReference" type="xs:string" minOccurs="0"/>
<xs:element name="propertyStore" minOccurs="0">
<xs:complexType>
<xs:complexContent>
<xs:extension base="propertyStoreType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="templateInfo" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="folderType" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="searchConnectorDescriptionList" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0">
<xs:element name="searchConnectorDescription"
type="searchConnectorDescriptionType" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>
Elementinformation
Överordnat element | Underordnade element |
---|---|
namnelement (biblioteksschema). Krävs. | |
ownerSID-element (biblioteksschema). Valfri. | |
versionselement (biblioteksschema). Valfri. | |
isLibraryPinned Element (biblioteksschema). Valfri. | |
-ikonenReferenselement (biblioteksschema). Valfri. | |
propertyStore-element (biblioteksschema). Valfri. | |
templateInfo-element (biblioteksschema). Valfri. | |
searchConnectorDescriptionList-element (biblioteksschema). Krävs. |
Anmärkningar
Varje bibliotek kan innehålla en eller flera platser som kan bläddras eller sökas efter av en användare med Hjälp av Utforskaren i Windows. Platserna definieras av sökanslutningsappar med hjälp av <searchConnectorDescription> element i ett <searchConnectorDescriptionList> containerelement.
Ett bibliotek kan ha en unik uppsättning egenskaper, och platser i biblioteket kan också ha unika uppsättningar med egenskaper. Dessa egenskaper definieras i <egenskap> element i ett <propertyStore> containerelement.
Exempel
<?xml version="1.0" encoding="UTF-8"?>
<libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
<name>@shell32.dll,-34575</name>
<ownerSID>S-1-5-21-379071477-2495173225-776587366-1000</ownerSID>
<version>1</version>
<isLibraryPinned>true</isLibraryPinned>
<iconReference>imageres.dll,-1002</iconReference>
<templateInfo>
<folderType>{7d49d726-3c21-4f05-99aa-fdc2c9474656}</folderType>
</templateInfo>
<searchConnectorDescriptionList>
<searchConnectorDescription publisher="Microsoft" product="Windows">
<description>@shell32.dll,-34577</description>
<isDefaultSaveLocation>true</isDefaultSaveLocation>
<simpleLocation>
<url>knownfolder:{FDD39AD0-238F-46AF-ADB4-6C85480369C7}</url>
<serialized>MBAAAEAFCAAA...MFNVAAAAAA</serialized>
</simpleLocation>
</searchConnectorDescription>
<searchConnectorDescription publisher="Microsoft" product="Windows">
<description>@shell32.dll,-34579</description>
<isDefaultNonOwnerSaveLocation>true</isDefaultNonOwnerSaveLocation>
<simpleLocation>
<url>knownfolder:{ED4824AF-DCE4-45A8-81E2-FC7965083634}</url>
<serialized>MBAAAEAFCAAA...HJIfK9AAAAAA</serialized>
</simpleLocation>
</searchConnectorDescription>
</searchConnectorDescriptionList>
</libraryDescription>
Relaterade ämnen