Microsoft.ManagementConsole.BaseCollection.OnSet C# (CSharp) Method

OnSet() protected method

protected OnSet ( int index, object oldValue, object newValue ) : void
index int
oldValue object
newValue object
return void
        protected override void OnSet(int index, object oldValue, object newValue)
        {
            if (oldValue != newValue)
            {
                this.OnValidate(oldValue, false);
                this.OnValidate(newValue, true);
                base.OnSet(index, oldValue, newValue);
            }
        }