_AutoFormatRules.Remove(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.