Adduserfiltercriteria – Kofax DM API User Manual

Page 169

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

149

AddUserFilterCriteria

AddUserFilterCriteria

Use this method to add a property name with user filter criteria to a
lookup.

Syntax

PCDLookup.AddUserFilterCriteria( strPropName, _

strCriteria )

Parameters

Returns

Returns an

HRESULT

to receive the result of the call.

S_OK

indicates

success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.

Example

The

Example

in the discussion of the

PCDLookup

object illustrates the

use of the AddUserFilterCriteria method.

Related Items

See the

PCDLookup

object.

See the following properties:

ErrDescription

ErrNumber

strPropName

The name of the property on which to base the
search.

strCriteria

The property value on which to search.

Advertising