Returns the PropertyTests collection that represents all the search criteria for a file search. Read-only.
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example displays all the search criteria for the first property test in the collection.
With Application.FileSearch.PropertyTests(1)
myString = "This is the search criteria: " _
& " The name is: " & .Name & ". The condition is: " _
& .Condition
If .Value <> "" Then
myString = myString & ". The value is: " & .Value
If .SecondValue <> "" Then
myString = myString _
& ". The second value is: " _
& .SecondValue & ", and the connector is" _
& .Connector
End If
End If
MsgBox myString
End With