EventBindingService 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
IEventBindingService 接口的默认实现。
public ref class EventBindingService abstract : System::ComponentModel::Design::IEventBindingService
	public abstract class EventBindingService : System.ComponentModel.Design.IEventBindingService
	[System.Security.SecurityCritical]
public abstract class EventBindingService : System.ComponentModel.Design.IEventBindingService
	type EventBindingService = class
    interface IEventBindingService
	[<System.Security.SecurityCritical>]
type EventBindingService = class
    interface IEventBindingService
	Public MustInherit Class EventBindingService
Implements IEventBindingService
		- 继承
 - 
				EventBindingService
 
- 属性
 
- 实现
 
注解
通过提供用于注册组件事件的事件处理程序的服务, EventBindingService 提供了一种将事件处理程序与设计器代码中的组件事件链接的方法。
构造函数
| EventBindingService(IServiceProvider) | 
		 初始化 EventBindingService 类的新实例。  | 
        	
方法
| CreateUniqueMethodName(IComponent, EventDescriptor) | 
		 创建唯一的方法名称。  | 
        	
| Equals(Object) | 
		 确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| FreeMethod(IComponent, EventDescriptor, String) | 
		 提供一个通知,声明特定方法不再由某个事件处理程序使用。  | 
        	
| GetCompatibleMethods(EventDescriptor) | 
		 返回兼容方法的名称集合。  | 
        	
| GetHashCode() | 
		 作为默认哈希函数。 (继承自 Object) | 
        	
| GetService(Type) | 
		 从服务提供程序获取请求的服务。  | 
        	
| GetType() | 
		 获取当前实例的 Type。 (继承自 Object) | 
        	
| MemberwiseClone() | 
		 创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| ShowCode() | 
		 显示用户代码。  | 
        	
| ShowCode(IComponent, EventDescriptor, String) | 
		 显示指定方法的用户代码。  | 
        	
| ShowCode(Int32) | 
		 显示给定行号的用户代码。  | 
        	
| ToString() | 
		 返回表示当前对象的字符串。 (继承自 Object) | 
        	
| UseMethod(IComponent, EventDescriptor, String) | 
		 提供一个通知,告知特定方法正由事件处理程序使用。  | 
        	
| ValidateMethodName(String) | 
		 验证提供的方法名称对于正在使用的语言或脚本是有效的。  | 
        	
显式接口实现
| IEventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor) | 
		 为指定组件和事件的事件处理程序方法创建唯一的名称。  | 
        	
| IEventBindingService.GetCompatibleMethods(EventDescriptor) | 
		 获取其方法签名与指定事件兼容的事件处理程序方法的集合。  | 
        	
| IEventBindingService.GetEvent(PropertyDescriptor) | 
		 为指定属性说明符(如果它表示事件)所表示的事件获取 EventDescriptor。  | 
        	
| IEventBindingService.GetEventProperties(EventDescriptorCollection) | 
		 将一组事件说明符转换为一组属性说明符。  | 
        	
| IEventBindingService.GetEventProperty(EventDescriptor) | 
		 将单个事件说明符转换为属性说明符。  | 
        	
| IEventBindingService.ShowCode() | 
		 显示设计器的用户代码。  | 
        	
| IEventBindingService.ShowCode(IComponent, EventDescriptor) | 
		 显示指定事件的用户代码。  | 
        	
| IEventBindingService.ShowCode(Int32) | 
		 在指定行显示设计器的用户代码。  |