IPerPropertyBrowsing

The IPerPropertyBrowsing interface accesses the information in the property pages offered by an object.

When to Implement

Implement this interface on all objects that have property pages so that clients can access information about the properties.

When to Use

Use this interface to access information about an object's properties.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IPerPropertyBrowsing Methods Description
GetDisplayString Returns a text string describing the specified property.
MapPropertyToPage Returns the CLSID of the property page that allows manipulation of the specified property.
GetPredefinedStrings Returns a counted array of strings (LPOLESTR pointers) listing the descriptions of the allowable values that the specified property can accept (i.e., the values returned from IPerPropertyBrowsing::GetPredefinedValue.
GetPredefinedValue Returns a VARIANT containing the value of a property identified with dispID that is associated with a predefined string name as returned from IPerPropertyBrowsing::GetPredefinedStrings.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IPropertyPage, IPropertyPage2, IPropertyPageSite, ISpecifyPropertyPages