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() |