DataAdapters.Item Property (Microsoft.Office.Interop.InfoPath.SemiTrust)
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)
An expression that specifies the position of a member of the DataAdaptersCollection collection. If the argument is a numeric expression, it must be a number from 0 to the value of the Count property minus 1. If the argument is a string expression, it must be the name of a member of the collection.
If the value provided for the varIndex argument does not match any existing member of the collection, an error occurs.
After you have set a reference to the DataSourceObject object that the Item property returns, you can access any of its properties or methods after the object has been cast to the appropriate DataObject object.
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.