• Describes prohibited edits of Delegate and Event declarations.

    说明委派事件宣告所禁止编辑

    youdao

  • Can someone tell me where is the delegate and event keyword defined?

    告诉哪里委托事件关键字定义

    youdao

  • For this, I created a delegate and fire the event SearchGrid, when the search button is hit.

    为此创建了一个委托事件SearchGrid搜索按钮击中。

    youdao

  • And I have read some article about event and delegate, too.

    一些有关事件委托文章了。

    youdao

  • If your class raises multiple events and you program these as described in Raising an event, the compiler generates one field per event delegate instance.

    如果引发多个事件并且按引发事件中的说明这些事件进行编程编译器将为每个事件委托实例生成一个字段

    youdao

  • For example, a button-click event and a menu-command-click event can both invoke the same delegate, which then calls a single method to handle these separate events the same way.

    例如单击按钮事件单击菜单命令事件调用同一委托然后该委托调用单个方法相同方式处理各个事件

    youdao

  • To implement multiple event properties in a class, the class must internally store and maintain the delegate defined for each event.

    一个实现多个事件属性该类必须在内部存储维护每个事件定义委托

    youdao

  • The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.

    事件属性访问器使用事件属性预定义委托集合中添加委托集合中移除实例

    youdao

  • An example where this is useful is when your object is serializable and you have an event that is handled by a non-serializable delegate object.

    个展示了自定义事件访问器有用一面的例子就是对象序列化的、并且个可以一个不可序列化的委托对象处理的事件的时候。

    youdao

  • An event handler, a delegate type, that invokes the exposed method can be added to any event as long as the handler and event signatures match.

    只要事件处理程序事件签名匹配,就可以将调用已公开方法的该事件处理程序(委托类型)添加任何事件。

    youdao

  • This strategy means that the control does not need to maintain a list of target objects for event notification-the delegate handles all registration and notification.

    策略意味着控件需要维护事件通知目标对象列表——委托处理所有注册通知。

    youdao

  • When the event is raised, the delegate instance and its associated event handler method is called.

    引发事件就会调用委托实例及其关联的事件处理程序方法

    youdao

  • The collection class must provide methods for setting, accessing, and retrieving the event handler delegate based on the event key.

    集合类别必须提供方法根据事件索引键设定存取撷取事件处理常式委派

    youdao

  • To unsubscribe in this scenario, it is necessary to go back to the code where you subscribe to the event, store the anonymous method in a delegate variable, and then add the delegate to the event.

    这种情况下取消订阅,必须回到订阅事件程序码,并将此匿名方法储存委派变数内然后再将该委派加入事件中。

    youdao

  • To unsubscribe in this scenario, it is necessary to go back to the code where you subscribe to the event, store the anonymous method in a delegate variable, and then add the delegate to the event.

    这种情况下取消订阅,必须回到订阅事件程序码,并将此匿名方法储存委派变数内然后再将该委派加入事件中。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定