EventEntry 类

定义

作为事件处理程序的属性项。Acts as the property entry for event handlers.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class EventEntry
public class EventEntry
type EventEntry = class
Public Class EventEntry
继承
EventEntry

注解

页分析器在分析过程中使用属性项类来表示在服务器控件标记中找到的表达式。The page parser uses property entry classes during parsing to represent expressions found within server control tags. EventEntry类用于绑定到指定事件处理程序的属性的表达式。The EventEntry class is used for expressions that are bound to properties that specify an event handler. 这些绑定属性以 "on" 开头, 例如OnClick或。 OnInitThese bound properties start with "on", such as OnClick or OnInit.

构造函数

EventEntry()

初始化 EventEntry 类的新实例。Initializes a new instance of the EventEntry class.

属性

HandlerMethodName

获取或设置处理事件的方法的名称。Gets or sets the name of the method that handles the event.

HandlerType

获取或设置事件的委托类型。Gets or sets the type of delegate for the event.

Name

获取或设置此表达式的属性名称。Gets or sets the name of the property from the expression.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于