_OlkListBox.RemoveItem Method
Removes the specified item from the list.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Sub RemoveItem ( _
Index As Integer _
)
'Usage
Dim instance As _OlkListBox
Dim Index As Integer
instance.RemoveItem(Index)
[DispIdAttribute()]
void RemoveItem(
int Index
)
Parameters
Index
Type: System.Int32A 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.