OlkListBox.GetSelected Method
Outlook Developer Reference |
Returns a Boolean that indicates if the indexed item is currently selected.
Version Information
Version Added: Outlook 2007
Syntax
expression.GetSelected(Index)
expression A variable that represents an OlkListBox object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Index | Required | Long | A zero-based value that specifies the location of an item in the list. |
Return Value
A Boolean value that is True if the specified item is currently selected, False otherwise.
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