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

◆ this[int index] [2/2]

object? IList. System.ComponentModel.PropertyDescriptorCollection.this[int index]
getsetprivate

Implements System.Collections.Generic.IList< T >.

Definition at line 186 of file PropertyDescriptorCollection.cs.

187 {
188 get
189 {
190 return this[index];
191 }
192 set
193 {
194 if (_readOnly)
195 {
196 throw new NotSupportedException();
197 }
198 if (index >= Count)
199 {
200 throw new IndexOutOfRangeException();
201 }
202 if (value != null && !(value is PropertyDescriptor))
203 {
204 throw new ArgumentException("value");
205 }
207 _properties[index] = (PropertyDescriptor)value;
208 }
209 }