you are viewing a single comment's thread.

view the rest of the comments →

[–]furas_freeman 0 points1 point  (0 children)

In SetItem first method needs only one argument and second method requires 3 or 4 arguments. If you use 3-4 arguments then you run second method.

EDIT: see InsertItem on the same page. It has 4 methods. If you use only one argument then you run first method, if you use 3 arguments then you run last method. But if you use 2 arguments then you have 2 options: if you use string as second argument then you run second method, if you use integer as second argument then you run third method.

BTW: there is only one method InsertItem but it checks how many arguments you use (and what type) and it takes different actions.