System.ComponentModel.ArrayConverter.ArrayPropertyDescriptor.SetValue C# (CSharp) Méthode

SetValue() public méthode

public SetValue ( object instance, object value ) : void
instance object
value object
Résultat void
            public override void SetValue(object instance, object value) {
                if (instance is Array) {
                    Array array = (Array)instance;
                    if (array.GetLength(0) > index) {
                        array.SetValue(value, index);
                    }
                    
                    OnValueChanged(instance, EventArgs.Empty);
                }
            }
        }
ArrayConverter.ArrayPropertyDescriptor