共用方式為


IDTSComponentMetaData100.FireCustomEvent Method

Definition

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)

Parameters

EventName
String
EventText
String
ppsaArguments
Object[]
SubComponent
String
pbFireAgain
Boolean
Attributes

Remarks

The FireCustomEvent method is used to raise a custom event that is defined by the component. The EventName and ppsaArguments parameters must match the name and parameter definitions of the custom event as they were defined when created by the component during the RegisterEvents method.

Applies to