SystemTrigger(SystemTriggerType, Boolean) 构造函数

定义

初始化系统事件触发器的新实例。

public:
 SystemTrigger(SystemTriggerType triggerType, bool oneShot);
 SystemTrigger(SystemTriggerType const& triggerType, bool const& oneShot);
public SystemTrigger(SystemTriggerType triggerType, bool oneShot);
function SystemTrigger(triggerType, oneShot)
Public Sub New (triggerType As SystemTriggerType, oneShot As Boolean)

参数

triggerType
SystemTriggerType

指定系统事件类型。

oneShot
Boolean

bool

如此 如果系统事件触发器将使用一次;如果每次事件发生时都会使用它,则为 false。

适用于