System.ComponentModel.ArrayConverter.ArrayPropertyDescriptor.SetValue C# (CSharp) 메소드

SetValue() 공개 메소드

public SetValue ( object instance, object value ) : void
instance object
value object
리턴 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