共用方式為


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

定義

OnSet 會在標準 Set 行為之前叫用。 如需詳細資訊,請參閱 CollectionBase 的 OnSet 方法。

protected:
 override void OnSet(int index, System::Object ^ oldValue, System::Object ^ newValue);
protected override void OnSet (int index, object? oldValue, 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

XmlSchemaObject 的索引。

oldValue
Object

舊值。

newValue
Object

新值。

適用於