EventHandlerAttribute 构造函数

定义

重载

EventHandlerAttribute(String, Type)

构造 的 EventHandlerAttribute实例。

EventHandlerAttribute(String, Type, Boolean, Boolean)

构造 的 EventHandlerAttribute实例。

EventHandlerAttribute(String, Type)

构造 的 EventHandlerAttribute实例。

public:
 EventHandlerAttribute(System::String ^ attributeName, Type ^ eventArgsType);
public EventHandlerAttribute (string attributeName, Type eventArgsType);
new Microsoft.AspNetCore.Components.EventHandlerAttribute : string * Type -> Microsoft.AspNetCore.Components.EventHandlerAttribute
Public Sub New (attributeName As String, eventArgsType As Type)

参数

attributeName
String
eventArgsType
Type

适用于

EventHandlerAttribute(String, Type, Boolean, Boolean)

构造 的 EventHandlerAttribute实例。

public:
 EventHandlerAttribute(System::String ^ attributeName, Type ^ eventArgsType, bool enableStopPropagation, bool enablePreventDefault);
public EventHandlerAttribute (string attributeName, Type eventArgsType, bool enableStopPropagation, bool enablePreventDefault);
new Microsoft.AspNetCore.Components.EventHandlerAttribute : string * Type * bool * bool -> Microsoft.AspNetCore.Components.EventHandlerAttribute
Public Sub New (attributeName As String, eventArgsType As Type, enableStopPropagation As Boolean, enablePreventDefault As Boolean)

参数

attributeName
String
eventArgsType
Type
enableStopPropagation
Boolean
enablePreventDefault
Boolean

适用于