Syntax

expression.Remove(Index)

expression Required. A variable that represents a object.

Parameters

Name Required/Optional Data Type Description
Index Required Long The index number of the property test to be removed.

Example

This example removes the first search criterion from the collection.

Visual Basic for Applications
Application.FileSearch.PropertyTests.Remove(1)

See also: