IMemberCreationService.UpdateEvent Método

Definición

Establece un nuevo nombre y tipo en un evento existente en la clase especificada.

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)

Parámetros

className
String

Cadena que contiene el nombre de la clase que contiene el evento que se va a actualizar.

oldEventName
String

Cadena que contiene el nombre del evento existente.

oldEventType
Type

Type asociado al evento existente.

newEventName
String

Cadena que contiene el nuevo nombre del evento actualizado.

newEventType
Type

que Type se va a asociar al evento actualizado.

attributes
AttributeInfo[]

Matriz AttributeInfo que contiene información sobre todos los atributos que se van a asignar al evento actualizado.

emitDependencyProperty
Boolean

true para actualizar el evento para emitir una propiedad de dependencia; de lo contrario, false.

isMetaProperty
Boolean

true para establecer el evento como una meta propiedad; de lo contrario, false.

Se aplica a