Modifica

Condividi tramite


_AutoFormatRules.Remove(Object) Method

Definition

Removes an object from the collection.

public:
 void Remove(System::Object ^ Index);
public void Remove (object Index);
Public Sub Remove (Index As Object)

Parameters

Index
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.

Applies to