Watches Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of all the Watch objects in a specified application.
public interface class Watches : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024456-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Watches : System.Collections.IEnumerable
Public Interface Watches
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the Watches property of the Application object to return a Watches collection.
You can specify to remove individual cells from the watch facility by using the Delete() method of the Watches collection.
You can also specify to remove all cells from the Watch Window, by using the Delete method of the Watches collection.
Properties
_Default[Object] |
Reserved for internal use. |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Item[Object] |
Returns a single object from a collection. |
Parent |
Returns the parent object for the specified object. |
Methods
Add(Object) |
Adds a range which is tracked when the worksheet is recalculated. Returns a Watch object. |
Delete() |
Deletes the object. |
GetEnumerator() |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應