propertyDescription

Beschreibt eine einzelne eindeutige kanonische Eigenschaft. Jede solche Eigenschaft, die im System verfügbar sein soll, muss über ein entsprechendes propertyDescription-Element verfügen.

Syntax für Windows 7

<!-- propertyDescription for Windows 7-->
<xs:element name="propertyDescription">
    <xs:complexType>
        <xs:all>
            <xs:element ref="searchInfo"          minOccurs="0" maxOccurs="1"/>
            <xs:element ref="labelInfo"           minOccurs="0" maxOccurs="1"/>
            <xs:element ref="typeInfo"            minOccurs="0" maxOccurs="1"/>
            <xs:element ref="aliasInfo"           minOccurs="0" maxOccurs="1"/>
            <xs:element ref="displayInfo"         minOccurs="0" maxOccurs="1"/>
            <xs:element ref="relatedPropertyInfo" minOccurs="0" maxOccurs="1"/>
        </xs:all>

        <xs:attribute name="formatID"  type="uuid" use="required"/>
        <xs:attribute name="propID"    type="propid" use="required"/>
        <xs:attribute name="name"      type="canonical-name"        use="required"/>
    </xs:complexType>
</xs:element>

Syntax für Vista

<!-- propertyDescription for Windows Vista-->
<xs:element name="propertyDescription">
    <xs:complexType>
        <xs:all>
            <xs:element ref="searchInfo"          minOccurs="0" maxOccurs="1"/>
            <xs:element ref="labelInfo"           minOccurs="0" maxOccurs="1"/>
            <xs:element ref="typeInfo"            minOccurs="0" maxOccurs="1"/>
            <xs:element ref="aliasInfo"           minOccurs="0" maxOccurs="1"/>
            <xs:element ref="displayInfo"         minOccurs="0" maxOccurs="1"/>
        </xs:all>

        <xs:attribute name="formatID"  type="uuid" use="required"/>
        <xs:attribute name="propID"    type="xs:nonNegativeInteger" use="required"/>
        <xs:attribute name="name"      type="canonical-name"        use="required"/>
    </xs:complexType>
</xs:element>

Elementinformationen

Übergeordnetes Element Untergeordnete Elemente
propertyDescriptionList searchInfo
labelInfo
Typeinfo
aliasInfo
displayInfo
relatedPropertyInfo

 

Attribute

attribute Beschreibung
name Erforderlich. Der kanonische Eigenschaftsname, der für das System eindeutig ist; Beispiel System.Rating: . Diese Zeichenfolge ist vom Typ kanonischer Typ und auf 64 Zeichen beschränkt. Bei dem Namen wird die Groß-/Kleinschreibung beachtet, und es sollte die folgende Syntax verwendet werden: Publisher.Application.PropertyName. IPropertyDescription::GetCanonicalName gibt diesen Wert zurück.
formatID Erforderlich. Der Formatbezeichner (FMTID) der Eigenschaft. Der Wert muss eingeschlossene Klammern enthalten. Beispiel {64440492-4C8B-11D1-8B70-080036B11A03}: . IPropertyDescription::GetPropertyKey gibt diesen Wert zurück.
propID Erforderlich. Der Eigenschaftsbezeichner (PID); Beispiel 9: . IPropertyDescription::GetPropertyKey gibt diesen Wert zurück. Dieser Wert muss größer oder gleich 2 sein. Die Werte 0 und 1 werden vom System reserviert.