IMemberCreationService.UpdateEvent Yöntem

Tanım

Belirtilen sınıfta var olan bir olaya yeni bir ad ve tür ayarlar.

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

Var olan olayın adını içeren bir dize.

oldEventType
Type

Type Mevcut olayla ilişkilendirilmiş olan.

newEventName
String

Güncelleştirilmiş olayın yeni adını içeren bir dize.

newEventType
Type

Type güncelleştirilmiş olayla ilişkilendirmek için.

attributes
AttributeInfo[]

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

emitDependencyProperty
Boolean

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

isMetaProperty
Boolean

true olayı meta özelliği olarak ayarlamak için; aksi takdirde , false.

Şunlara uygulanır