Edit

Share via


DataConnectionCollection.Count Property

Definition

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.

Applies to