Condividi tramite


IMemberCreationService.UpdateEvent Metodo

Definizione

Imposta un nome e un tipo nuovi su un evento esistente nella classe specificata.

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)

Parametri

className
String

Stringa contenente il nome della classe che contiene l'evento da aggiornare.

oldEventName
String

Stringa contenente il nome dell'evento esistente.

oldEventType
Type

Type associato all'evento esistente.

newEventName
String

Stringa contenente il nuovo nome dell'evento aggiornato.

newEventType
Type

Type da associare all'evento aggiornato.

attributes
AttributeInfo[]

Matrice AttributeInfo contenente informazioni su tutti gli attributi da assegnare all'evento aggiornato.

emitDependencyProperty
Boolean

true per aggiornare l'evento in modo che crei una proprietà di dipendenza; in caso contrario, false.

isMetaProperty
Boolean

true per impostare l'evento come metaproprietà; in caso contrario, false.

Si applica a