Getcurrentpropertyname, Getcurrentpropertyname 179 – Kofax DM API User Manual

Page 199

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

179

GetCurrentPropertyName

GetCurrentPropertyName

Use this method to get the name of the property to which the current
property pointer points. The

PCDPropertyList

object maintains a

current property pointer so that you can iterate through the entire list
of stored properties without knowing their names. The

PCDPropertyLists

object also supports this method as a way to access

properties in a collection of property lists.

Syntax

PCDPropertyList.GetCurrentPropertyName()

PCDPropertyLists.GetCurrentPropertyName()

Returns

Returns a string (

BSTR

) variable that contains the name of the property

at the current position in the list.

Example

The

Example

in the discussion of the

PCDPropertyList

object shows

how you can use this method.

Related Items

See the following objects:

PCDPropertyList

PCDPropertyLists

See the following properties:

ErrDescription
ErrNumber

Advertising