libraryDescription – element (schéma knihovny)
Element <libraryDescription> je kontejner nejvyšší úrovně pro definici knihovny. Tento prvek je povinný.
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>
Informace o elementu
Nadřazený prvek | Podřízené prvky |
---|---|
name Element (schéma knihovny). Požadovaný. | |
element ownerSID (schéma knihovny). Volitelný. | |
element verze (schéma knihovny). Volitelný. | |
elementu isLibraryPinned (schéma knihovny). Volitelný. | |
iconReference – element (schéma knihovny). Volitelný. | |
propertyStore – element (schéma knihovny). Volitelný. | |
templateInfo – element (schéma knihovny). Volitelný. | |
searchConnectorDescriptionList – element (schéma knihovny). Požadovaný. |
Poznámky
Každá knihovna může obsahovat jedno nebo více umístění, která může uživatel procházet nebo prohledávat pomocí Průzkumníka Windows. Umístění jsou definována vyhledávacími konektory pomocí <searchConnectorDescription> elementy v <searchConnectorDescriptionList> element kontejneru.
Knihovna může mít jedinečnou sadu vlastností a umístění v knihovně můžou mít také jedinečné sady vlastností. Tyto vlastnosti jsou definovány v <vlastnosti> elementy v elementu kontejneru <propertyStore>.
Příklad
<?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>
Související témata