WatchExpressions.Remove
- Updated2024-10-09
- 1 minute(s) read
WatchExpressions.Remove
Syntax
WatchExpressions.Remove( WatchExpression)
Purpose
Removes a watch expression from the collection and the watch expression list that the engine maintains.
Remarks
This method removes only the watch expression from the collection and the watch expression list that the engine maintains. To delete the WatchExpression object itself, you must release any references to the object after calling this method. This method does not return an error if the WatchExpression object is not in the collection or in the watch expression list that the engine maintains.
Parameters
WatchExpression As WatchExpression
[In] Specifies a reference to the WatchExpression object to remove from the collection.