property Element (Library Schema)

The <property> element specifies a property used by the library. These properties are specific to the library, so there is no predefined set of property names to use. This element is optional and has no child elements.

Syntax

<!-- property -->
<xs:element name="property" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
        <xs:complexContent>
            <xs:extension base="xs:anyType">
                <xs:attribute name="name" type="canonical-name" use="required"/>
                    <xs:simpleType name="canonical-name">
                        <xs:restriction base="xs:string">
                            <xs:maxLength value="63"/>
                            <xs:pattern value="[0-9A-Za-z.]*"/>
                        </xs:restriction>
                    </xs:simpleType>
                <xs:attribute name="type"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>

Element Information

Parent Element Child Elements
propertyStore Element (Library Schema) None

 

Attributes

Attribute Description Values
name Public. Required. The display name of the property.
type Public. Required. The type of property.
  • Any: Default. The value will not be coerced by the property subsystem. VT_NULL will be returned by GetPropertyType.
  • Null: There is no value for this property. VT_NULL will be returned by GetPropertyType.
  • String: The value must be a VT_LPWSTR.
  • Boolean: The value must be a VT_BOOL.
  • Byte: The value must be a VT_UI1.
  • Buffer: The value must be a VT_UI1
  • VT_VECTOR buffer of bytes.
  • Int16: The value must be a VT_I2.
  • UInt16: The value must be a VT_UI2.
  • Int32: The value must be a VT_I4.
  • UInt32: The value must be a VT_UI4.
  • Int64: The value must be a VT_I8.
  • UInt64: The value must be a VT_UI8.
  • Double: The value must be a VT_R8.
  • DateTime: The value must be a VT_FILETIME.
  • Guid: The value must be a VT_CLSID.
  • Blob: The value must be a VT_BLOB.
  • Object: The value must be a VT_UNKNOWN.
  • Stream: The value must be a VT_STREAM.
  • Clipboard: The value must be a VT_CF.

 

Remarks

The requirements for the <canonical-name> element match the requirements for Windows Search and the Windows property system. The string must be of type canonical-type.

Library Description Schema

Property Schemas

Search Connector Description Schema