IPropertySystem interface (propsys.h)

Exposes methods that get property descriptions, register and unregister property schemas, enumerate property descriptions, and format property values in a type-strict way.

Inheritance

The IPropertySystem interface inherits from the IUnknown interface. IPropertySystem also has these types of members:

Methods

The IPropertySystem interface has these methods.

 
IPropertySystem::EnumeratePropertyDescriptions

Gets an instance of the subsystem object that implements IPropertyDescriptionList, to obtain either the entire or a partial list of property descriptions in the system.
IPropertySystem::FormatForDisplay

Gets a formatted, Unicode string representation of a property value. (IPropertySystem.FormatForDisplay)
IPropertySystem::FormatForDisplayAlloc

Gets a string representation of a property value to an allocated memory buffer.
IPropertySystem::GetPropertyDescription

Gets an instance of the subsystem object that implements IPropertyDescription, to obtain the property description for a given PROPERTYKEY.
IPropertySystem::GetPropertyDescriptionByName

Gets an instance of the subsystem object that implements IPropertyDescription, to obtain the property description for a given canonical name.
IPropertySystem::GetPropertyDescriptionListFromString

Gets an instance of the subsystem object that implements IPropertyDescriptionList, to obtain an ordered collection of property descriptions, based on the provided string.
IPropertySystem::RefreshPropertySchema

Not supported. (IPropertySystem.RefreshPropertySchema)
IPropertySystem::RegisterPropertySchema

Informs the schema subsystem of the addition of a property description schema file. (IPropertySystem.RegisterPropertySchema)
IPropertySystem::UnregisterPropertySchema

Informs the schema subsystem of the removal of a property description schema (.propdesc) file, using a file path to the .propdesc file on the local machine.

Remarks

Many of the exported APIs (such as PSGetPropertyDescription) are simply wrappers around the IPropertySystem methods. If your code calls a lot of these helper APIs in sequence, it may be worthwhile to instantiate a single IPropertySystem object, and call the methods directly, rather than calling the helper APIs. (To improve the performance, the helper APIs do obtain a cached instance of the IPropertySystem object.)

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header propsys.h
Redistributable Windows Desktop Search (WDS) 3.0