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.
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.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.
Remarks
If the name of a category is specified in Index, this method removes the first Category object that matches the specified value.