SpreadsheetGear 2023
Contains Method (IWorkbooks)


SpreadsheetGear Namespace > IWorkbooks Interface : Contains Method
Specifies the workbook to check.
Returns true if the specified IWorkbook is contained by the collection of workbooks, otherwise false is returned.
Syntax
'Declaration
 
Function Contains( _
   ByVal workbook As IWorkbook _
) As System.Boolean
'Usage
 
Dim instance As IWorkbooks
Dim workbook As IWorkbook
Dim value As System.Boolean
 
value = instance.Contains(workbook)
System.bool Contains( 
   IWorkbook workbook
)

Parameters

workbook
Specifies the workbook to check.

Return Value

true if the specified IWorkbook is contained by the collection of workbooks, otherwise false is returned.
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

Reference

IWorkbooks Interface
IWorkbooks Members