Aracılığıyla paylaş


IMemberCreationService.UpdateEvent Yöntem

Tanım

Yeni bir ad ayarlar ve belirtilen sınıftaki mevcut bir olaya yazın.

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)

Parametreler

className
String

Güncelleştirilecek olayı içeren sınıfın adını içeren bir dize.

oldEventName
String

Mevcut etkinliğin adını içeren bir dize.

oldEventType
Type

TypeMevcut olayla ilişkili.

newEventName
String

Güncelleştirilmiş etkinliğin yeni adını içeren bir dize.

newEventType
Type

TypeGüncelleştirilmiş olayla ilişkilendirilecek.

attributes
AttributeInfo[]

AttributeInfoGüncelleştirilmiş olaya atanacak tüm öznitelikler hakkında bilgi içeren bir dizi.

emitDependencyProperty
Boolean

true bir bağımlılık özelliği göstermek için olayı güncelleştirmek için; Aksi takdirde, false .

isMetaProperty
Boolean

true olayı meta özellik olarak ayarlamak için; Aksi takdirde, false .

Şunlara uygulanır