IDTSComponentMetaData100.FireCustomEvent 方法

定义

public:
 void FireCustomEvent(System::String ^ EventName, System::String ^ EventText, cli::array <System::Object ^> ^ % ppsaArguments, System::String ^ SubComponent, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(130)]
public void FireCustomEvent (string EventName, string EventText, ref object[] ppsaArguments, string SubComponent, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(130)>]
abstract member FireCustomEvent : string * string * Object[] * string * bool -> unit
Public Sub FireCustomEvent (EventName As String, EventText As String, ByRef ppsaArguments As Object(), SubComponent As String, ByRef pbFireAgain As Boolean)

参数

EventName
String
EventText
String
ppsaArguments
Object[]
SubComponent
String
pbFireAgain
Boolean
属性

注解

FireCustomEvent 方法用于引发组件定义的自定义事件。 EventNameppsaArguments 参数必须与自定义事件的名称和参数定义匹配,因为它们是在 RegisterEvents 方法期间由组件创建时定义的。

适用于