IMemberCreationService.UpdateEvent Metodo

Definizione

Imposta un nuovo nome e un nuovo tipo 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

Oggetto Type associato all'evento esistente.

newEventName
String

Stringa contenente il nuovo nome dell'evento aggiornato.

newEventType
Type

Oggetto Type da associare all'evento aggiornato.

attributes
AttributeInfo[]

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

emitDependencyProperty
Boolean

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

isMetaProperty
Boolean

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

Si applica a