ViewInfoCollection.Count property

Gets a count of the number of ViewInfo objects contained in the ViewInfoCollection collection.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As ViewInfoCollection
Dim value As Integer

value = instance.Count
public abstract int Count { get; }

Property value

Type: System.Int32
The number of ViewInfo objects contained in the ViewInfoCollection collection.

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.

See also

Reference

ViewInfoCollection class

ViewInfoCollection members

Microsoft.Office.InfoPath namespace