Freigeben über


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

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