Watches 接口

定义

指定应用程序中所有 Watch 对象的集合。

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
属性
实现

注解

Watches使用 对象的 属性Application可返回 Watches 集合。

可以使用 Watches 集合的 方法指定从watch工具Delete()中删除单个单元格。

通过采用 Delete 集合的 Watches 方法,还可指定从“监视窗口”中删除所有的单元格。

属性

_Default[Object]

仅供内部使用。

Application

返回一个 Application 对象,该对象代表 Microsoft Excel 应用程序。

Count

返回集合中对象的数目。

Creator

返回一个 32 位整数,该整数指示在其中创建了此对象的应用程序。

Item[Object]

从集合中返回一个对象。

Parent

返回指定对象的父对象。

方法

Add(Object)

添加在重新计算工作表时要跟踪的区域。 返回 对象 Watch

Delete()

删除对象。

GetEnumerator()

指定应用程序中所有 Watch 对象的集合。

适用于