InstallerCollection.OnSet(Int32, Object, Object) 方法

定义

将现有的安装程序设置为新值之前执行其他自定义进程。Performs additional custom processes before an existing installer is set to a new value.

protected:
 override void OnSet(int index, System::Object ^ oldValue, System::Object ^ newValue);
protected override void OnSet (int index, object oldValue, object newValue);
override this.OnSet : int * obj * obj -> unit
Protected Overrides Sub OnSet (index As Integer, oldValue As Object, newValue As Object)

参数

index
Int32

从零开始的索引,在该位置替换 oldValueThe zero-based index at which to replace oldValue.

oldValue
Object

要用 newValue 替换的值。The value to replace with newValue.

newValue
Object

index 处的安装程序的新值。The new value of the installer at index.

适用于