propertyDescription

단일 고유한 정식 속성을 설명합니다. 시스템에서 사용할 수 있도록 의도된 모든 속성에는 해당 propertyDescription 요소가 있어야 합니다.

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>

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>

요소 정보

부모 요소 자식 요소
propertyDescriptionList searchInfo
labelInfo
typeInfo
aliasInfo
displayInfo
relatedPropertyInfo

 

특성

attribute Description
name 필수 요소. 시스템에 고유한 정식 속성 이름입니다. 예를 들면 입니다 System.Rating. 이 문자열은 정식 형식 형식이며 64자로 제한됩니다. 이름은 대/소문자를 구분하며 Publisher.Application.PropertyName 구문을 사용해야 합니다. IPropertyDescription::GetCanonicalName 은 이 값을 반환합니다.
formatID 필수 사항입니다. 속성의 형식 식별자(FMTID)입니다. 값은 바깥쪽 중괄호를 포함해야 합니다. 예를 들면 입니다 {64440492-4C8B-11D1-8B70-080036B11A03}. IPropertyDescription::GetPropertyKey 는 이 값을 반환합니다.
propID 필수 사항입니다. PID(속성 식별자) 예를 들면 입니다 9. IPropertyDescription::GetPropertyKey 는 이 값을 반환합니다. 이 값은 2보다 크거나 같아야 합니다. 값 0과 1은 시스템에서 예약합니다.