v2.25
IPropertyDescription Interface Reference

Represents a property description. More...

Inheritance diagram for IPropertyDescription:

Public Member Functions

HRESULT SetEnumerationItems ([in] SAFEARRAY(BSTR) enumItems)
 Sets the items to an enumeration property definition. More...
 
HRESULT GetEnumerationItems ([out, retval] SAFEARRAY(BSTR) *pEnumItems)
 Gets the items of an enumeration property definition. More...
 

Properties

BSTR Name [get]
 The name of the property.
 
PropertyType Type [get]
 The type of the property.
 

Detailed Description

Represents a property description.

Member Function Documentation

◆ GetEnumerationItems()

HRESULT IPropertyDescription::GetEnumerationItems ( [out, retval] SAFEARRAY(BSTR) *  pEnumItems)

Gets the items of an enumeration property definition.

It is an error to call this method on a property definition of type other than PropertyType_Enumeration.

Returns
An array containing the items of the enumeration.

◆ SetEnumerationItems()

HRESULT IPropertyDescription::SetEnumerationItems ( [in] SAFEARRAY(BSTR)  enumItems)

Sets the items to an enumeration property definition.

It is an error to call this method on a property definition of type other than PropertyType_Enumeration.