Version

GetCount Method

Returns the count of items in the collection
Syntax
'Declaration
 
Public Function GetCount( _
   Optional ByVal includeFields As Boolean, _
   Optional ByVal includeFieldGroups As Boolean, _
   Optional ByVal includeDescendants As Boolean _
) As Integer
public int GetCount( 
   bool includeFields,
   bool includeFieldGroups,
   bool includeDescendants
)

Parameters

includeFields
True to include Fields
includeFieldGroups
True to include FieldGroups
includeDescendants
True to include counts from descendant groups

Return Value

The total count
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also