Categories.Item Method (Outlook)

Returns a Category object from the collection.


expression. Item( _Index_ )

expression A variable that represents a Categories object.


Name Required/Optional Data Type Description
Index Required Variant Either a Long value representing the index number of the object, or a String value representing either the Name or CategoryID property value of an object in the collection.

Return Value

A Category object that represents the specified object.


If the name of a category is specified in Index, this method returns the first Category object that matches the specified value. If a match cannot be found, the method returns Null (Nothing in Visual Basic.)

See also

Categories Object