IMemberCreationService.UpdateEvent Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.
- newEventName
- String
Güncelleştirilmiş olayın yeni adını içeren bir dize.
- 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.