Share via


MapIterator.valuePair Method

Retrieves a container that contains the key and the value.

Syntax

public container valuePair()

Run On

Called

Return Value

Type: container
A container that contains the key and the value.

Remarks

Objects may not reside in containers; consequently, an exception is raised if either the key or the value is an object.

See Also

MapIterator Class

MapIterator.key Method