Version

GetItemsCount Method

Return the number of tabs.
Syntax
'Declaration
 
Public Function GetItemsCount( _
   Optional ByVal oIncludeClosed As System.Object _
) As System.Integer
public System.int GetItemsCount( 
   System.object oIncludeClosed
)
public: System.int GetItemsCount( 
   System.Object* oIncludeClosed
) 

Parameters

oIncludeClosed
Optional Boolean , if not passed it defaults to False.

Return Value

Return the number of tabs based on the value of the parameter See remarks for detail
Remarks
If no parameter is passed it will return the count of visible tabs only. If IncludeClosed is true it will return the number of all tabs including closed ones
Requirements

Target Platforms: Windows 7, 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