DataConnectionCollection.Count Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the count of the number of DataConnection objects in the collection.
public:
abstract property int Count { int get(); };
public abstract int Count { get; }
member this.Count : int
Public MustOverride ReadOnly Property Count As Integer
Property Value
The count of the number of DataConnection objects in the collection.
Examples
In the following example, the count of the number of DataConnection objects is displayed in a message box.
MessageBox.Show("Count: " + this.DataConnections.Count.ToString());
MessageBox.Show("Count: " & Me.DataConnections.Count.ToString())
Remarks
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.