_Categories.Remove Method

Removes an object from the collection.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub Remove ( _
    Index As Object _
)
'Usage
Dim instance As _Categories
Dim Index As Object

instance.Remove(Index)
[DispIdAttribute()]
void Remove(
    Object Index
)

Parameters

  • Index
    Type: System.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.

Remarks

If the name of a category is specified in Index, this method removes the first Category object that matches the specified value.

See Also

Reference

_Categories Interface

_Categories Members

Microsoft.Office.Interop.Outlook Namespace