Contains (NotesItem - LotusScript®)

Given a value, checks if the value matches at least one of the item's values exactly.

Defined in

NotesItem

Syntax

flag = notesItem .Contains( value )

Parameters

value

String, number, or variant of type DATE.

Return values

Usage

This method cannot search a text item to see if it contains a specific word -- rather, it's intended to check a text list, number list, or date-time range to see if one of the values in the list or range matches value.

If value is a distinguished name and if the item contains Notes® user names, the distinguished name matches the common version of the hierarchical name.

Language cross-reference

containsValue method in Java™ Item class

Example


Additional Documentation | Trademarks |