Bearbeiten

Freigeben über


IMemberCreationService.UpdateEvent Method

Definition

Sets a new name and type to an existing event on the specified class.

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)

Parameters

className
String

A string that contains the name of the class that contains the event to update.

oldEventName
String

A string that contains the name of the existing event.

oldEventType
Type

The Type associated with the existing event.

newEventName
String

A string that contains the new name of the updated event.

newEventType
Type

The Type to associate with the updated event.

attributes
AttributeInfo[]

An AttributeInfo array that contains information on all attributes to assign to the updated event.

emitDependencyProperty
Boolean

true to update the event to emit a dependency property; otherwise, false.

isMetaProperty
Boolean

true to set the event as a meta property; otherwise, false.

Applies to