Share via


_AutoFormatRules.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 _AutoFormatRules
Dim Index As Object

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

Parameters

  • Index
    Type: System.Object

    Either the index number of the object, or a value used to match the Name property value of an object in the collection.

Remarks

If the name of a formatting rule to be removed is specified in Index, this method removes the first AutoFormatRule object that matches the specified name.

Built-in formatting rules cannot be removed from the collection.

See Also

Reference

_AutoFormatRules Interface

_AutoFormatRules Members

Microsoft.Office.Interop.Outlook Namespace