语言

ActionCollection 类

定义

表示 对象的集合 Action 。 此类不能被继承。

public ref class ActionCollection sealed
public sealed class ActionCollection
type ActionCollection = class
Public NotInheritable Class ActionCollection
继承
ActionCollection

构造函数

名称 说明
ActionCollection()

初始化 ActionCollection 类的新实例。

属性

名称 说明
Count

获取集合中项的数目。

Item[Int32]

从指定的索引集合中获取一个项目。

方法

名称 说明
Add(Action)

将对象 Action 添加到集合。

适用于