Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetValue()

override void System.ComponentModel.ArrayConverter.ArrayPropertyDescriptor.SetValue ( object instance,
object value )
inline

Definition at line 27 of file ArrayConverter.cs.

28 {
29 if (instance is Array array)
30 {
31 if (array.GetLength(0) > _index)
32 {
33 array.SetValue(value, _index);
34 }
35 OnValueChanged(instance, EventArgs.Empty);
36 }
37 }

References System.ComponentModel.ArrayConverter.ArrayPropertyDescriptor._index, System.array, System.EventArgs.Empty, and System.value.