WatchExpressions.Clear
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
WatchExpressions.Clear
Syntax
WatchExpressions.Clear
Purpose
Removes all WatchExpression objects from both the collection and the watch expression list the engine maintains.
Remarks
This method releases only the references to the WatchExpression objects the collection and the engine hold. To delete the WatchExpression objects, you must release any other references to the WatchExpression objects.