_Categories.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an Category object from the collection.
public:
property Microsoft::Office::Interop::Outlook::Category ^ default[System::Object ^] { Microsoft::Office::Interop::Outlook::Category ^ get(System::Object ^ Index); };
public Microsoft.Office.Interop.Outlook.Category this[object Index] { get; }
Default Public ReadOnly Property Item(Index As Object) As Category
Parameters
- Index
- Object
Either an Integer (int in C#) value representing the index number of the object, or a String (string in C#) value representing either the Name or CategoryID property value of an object in the collection.
Property Value
A Category object that represents the specified object.
Remarks
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 Nothing (a null reference (Nothing in Visual Basic) in C#)