Remove
Removes a result from the collection of test results.
Compatibility
Available as of IDEA version 9.1.1
Syntax
Remove(value as Boolean)
Parameter
value
The object to remove from the list. If the object is not in the list the function does nothing.
Return Value
True if the result was removed, false if the result was not found.
Example
Sub Main
'Create a new TestResultFile object.
Dim resultFile As Object
Set resultFile = SmartContext.TestResultFiles.Create
'Add the object to the list of result files.
SmartContext.TestResultFiles.Add resultFile
'Remove the object from the list.
Dim result As Boolean
result = SmartContext.TestResultFiles.Remove(resultFile)
End Sub