DataSourceCollection.Item property (Int32)
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The number or numeric expression passed as the argument for index must evaluate to a number from 0 to the value of the Count property minus 1.
After you have set a reference to the DataSource object that the Item property returns, you can access any of its properties or methods.
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.