Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
声明稍后可以进行注册和触发的事件。
public virtual bool DeclareEvent(const char * eventName)
eventName 新用户定义事件的名称。
如果成功声明事件,则返回 true;如果名称已经使用或无效,则返回 false。
UltraLite 预定义一些由对数据库或环境的操作触发的系统事件。此函数会声明用户定义的事件。用户定义的事件由 TriggerEvent() 触发。事件的名称必须是唯一的。名称不区分大小写。