| SpreadsheetGear Namespace > IWorksheets Interface : Contains Method (IWorksheets) | 
Returns true if the specified IWorksheet is contained by the collection of worksheets, otherwise false is returned.
[Visual Basic]
Overridable Function Contains( _
   ByVal worksheet As IWorksheet _
) As Boolean [C#]
virtual bool  Contains( 
   IWorksheet worksheet
);[C++]
virtual bool  Contains( 
   IWorksheet* worksheet
) [C++/CLI]
virtual bool  Contains( 
   IWorksheet^ worksheet
) true if the specified IWorksheet is contained by the collection of worksheets, otherwise false is returned.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
IWorksheets Interface | IWorksheets Members
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.