_Rules.Remove(Object) _Rules.Remove(Object) _Rules.Remove(Object) Method

Definition

Removes from the Rules collection a Rule object specified by Index, which is either a numerical index into the Rules collection or the rule name.

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

Parameters

Index
Object Object Object

Either an Integer (int in C#) value representing an index into the Rules collection, or a String (string in C#) name representing the value of the default property of a rule, Name.

Remarks

Returns an error when the rule cannot be found in the collection.

Applies to