IMemberCreationService.UpdateEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- newEventName
- String
A string that contains the new name of 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
.