次の方法で共有


XmlSchemaObjectCollection.OnSet メソッド

標準の Set 動作の前に、 OnSet が呼び出されます。詳細については、 CollectionBase の OnSet メソッドのトピックを参照してください。

Overrides Protected Sub OnSet( _
   ByVal index As Integer, _   ByVal oldValue As Object, _   ByVal newValue As Object _)
[C#]
protected override void OnSet(intindex,objectoldValue,objectnewValue);
[C++]
protected: void OnSet(intindex,Object* oldValue,Object* newValue);
[JScript]
protected override function OnSet(
   index : int,oldValue : Object,newValue : Object);

パラメータ

  • index
    XmlSchemaObject のインデックス。
  • oldValue
    古い値。
  • newValue
    新しい値。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

XmlSchemaObjectCollection クラス | XmlSchemaObjectCollection メンバ | System.Xml.Schema 名前空間