IDL Programming > Objects > Miscellaneous Object Classes > IDL_Container::IsContained

IDL_Container::IsContained

Syntax | Arguments | Keywords | Version History

The IDL_Container::IsContained function method returns true (1) if the specified object is in the container, or false (0) otherwise.

Syntax

Result = Obj->[IDL_Container::]IsContained( Object [, POSITION=variable] )

Arguments

Object

The object reference or vector of object references of the object(s) to search for in the container.

Keywords

POSITION

Set this keyword to a named variable that upon return will contain the position(s) at which (each of) the argument(s) is located within the container, or -1 if it is not contained.

Version History

5.0

Introduced