Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an Category object from the collection.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Default Property Item ( _
Index As Object _
) As Category
Get
'Usage
Dim instance As _Categories
Dim Index As Object
Dim value As Category
value = instance(Index)
[DispIdAttribute()]
Category this[
Object Index
] { get; }
Parameters
Index
Type: System.ObjectEither 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
Type: Microsoft.Office.Interop.Outlook.Category
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#)