IDTSComponentMetaData100.FireCustomEvent Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Génère un événement personnalisé défini par un composant.
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)
Paramètres
- EventName
- String
Nom de l'événement personnalisé.
- EventText
- String
Le texte qui décrit l’événement.
- ppsaArguments
- Object[]
La série d’arguments correspondant aux arguments définis lorsque l’événement personnalisé est défini.
- SubComponent
- String
Le nom du composant qui déclenche l’événement personnalisé.
- pbFireAgain
- Boolean
Précise si l’événement doit être soulevé à nouveau à l’avenir.
- Attributs
Remarques
La FireCustomEvent méthode est utilisée pour générer un événement personnalisé défini par le composant. Les EventName paramètres et ppsaArguments doivent correspondre au nom et aux définitions des paramètres de l’événement personnalisé tels qu’ils ont été définis lors de la création par le composant pendant la RegisterEvents méthode.