Overload | Description |
---|---|
Item(String) | Gets or sets an element with the given name. |
Item(Int32) | Gets or sets the element at the given index. |
Overload | Description |
---|---|
Item(String) | Gets or sets an element with the given name. |
Item(Int32) | Gets or sets the element at the given index. |
This method implements a standard collection operation. It is one of the principle methods you will use to read or change elements in the collection. You can read or modify most elements in the collection with this method.
You can indicate the element you are interested in with a string. This method will search the collection for the first (lowest numeric index) element whose Name property matches the string.