IPropertyDescription::GetRelativeDescriptionType method (propsys.h)

Gets the relative description type for a property description.

Syntax

HRESULT GetRelativeDescriptionType(
  [out] PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt
);

Parameters

[out] prdt

Type: PROPDESC_RELATIVEDESCRIPTION_TYPE*

When this method returns, contains a pointer to the relative description type value. See PROPDESC_RELATIVEDESCRIPTION_TYPE for valid values.

Return value

Type: HRESULT

Always returns S_OK.

Remarks

The information retrieved by this method comes from the relativeDescriptionType attribute of the displayInfo element in the property's .propdesc file.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header propsys.h

See also

IPropertyDescription

Property Description Schema