Langue

IMemberCreationService.UpdateEvent Méthode

Définition

Définit un nouveau nom et un nouveau type sur un événement existant sur la classe spécifiée.

public:
 void UpdateEvent(System::String ^ className, System::String ^ oldEventName, Type ^ oldEventType, System::String ^ newEventName, Type ^ newEventType, cli::array <System::Workflow::ComponentModel::Compiler::AttributeInfo ^> ^ attributes, bool emitDependencyProperty, bool isMetaProperty);
public void UpdateEvent(string className, string oldEventName, Type oldEventType, string newEventName, Type newEventType, System.Workflow.ComponentModel.Compiler.AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty);
abstract member UpdateEvent : string * string * Type * string * Type * System.Workflow.ComponentModel.Compiler.AttributeInfo[] * bool * bool -> unit
Public Sub UpdateEvent (className As String, oldEventName As String, oldEventType As Type, newEventName As String, newEventType As Type, attributes As AttributeInfo(), emitDependencyProperty As Boolean, isMetaProperty As Boolean)

Paramètres

className
String

Chaîne qui contient le nom de la classe qui contient l’événement à mettre à jour.

oldEventName
String

Chaîne qui contient le nom de l’événement existant.

oldEventType
Type

Associé Type à l’événement existant.

newEventName
String

Chaîne qui contient le nouveau nom de l’événement mis à jour.

newEventType
Type

À Type associer à l’événement mis à jour.

attributes
AttributeInfo[]

Tableau AttributeInfo qui contient des informations sur tous les attributs à affecter à l’événement mis à jour.

emitDependencyProperty
Boolean

true pour mettre à jour l’événement pour émettre une propriété de dépendance ; sinon, false.

isMetaProperty
Boolean

true pour définir l’événement en tant que méta propriété ; sinon, false.

S’applique à