Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetEnumerator method
Collapse the table of content
Expand the table of content

DataConnectionCollection.GetEnumerator method

Gets an IEnumerator object that iterates over all entries in the collection.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract IEnumerator GetEnumerator()

Implements

IEnumerable.GetEnumerator()

After you have set a reference to the DataConnection object that the Item property returns, you can access any of its properties or methods after the object has been cast to the appropriate type for the corresponding data connection. For example, to access the properties and methods of an e-mail connection, you must cast the returned DataConnection object to the EmailSubmitConnection type.

This member can be accessed without restrictions.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

Show:
© 2015 Microsoft