v2.32
 
IPropertyDescription Interface Reference

Represents a property description. More...

Inheritance diagram for IPropertyDescription:

Public Member Functions

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

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 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 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.