Partager via


OlkListBox.RemoveItem Method (Outlook)

Removes the specified item from the list.

Version Information

Version Added: Outlook 2007

Syntax

expression .RemoveItem(Index)

expression A variable that represents an OlkListBox object.

Parameters

Name

Required/Optional

Data Type

Description

Index

Required

Long

A zero-based value indexing into the array of items in the list.

Remarks

If Index is outside the range of the allowed values (between zero and ListCount-1), then an out-of-bounds error will be returned.

See Also

Concepts

OlkListBox Object

OlkListBox Object Members