SpreadsheetGear 2012
Contains Method (IWorksheets)






Specifies the worksheet to check.
Returns true if the specified IWorksheet is contained by the collection of worksheets, otherwise false is returned.
Syntax
'Declaration
 
Function Contains( _
   ByVal worksheet As IWorksheet _
) As System.Boolean
'Usage
 
Dim instance As IWorksheets
Dim worksheet As IWorksheet
Dim value As System.Boolean
 
value = instance.Contains(worksheet)
System.bool Contains( 
   IWorksheet worksheet
)
function Contains( 
    worksheet: IWorksheet
): System.Boolean; 
function Contains( 
   worksheet : IWorksheet
) : System.boolean;
System.bool Contains( 
   IWorksheet* worksheet
) 
System.bool Contains( 
   IWorksheet^ worksheet
) 

Parameters

worksheet
Specifies the worksheet to check.

Return Value

true if the specified IWorksheet is contained by the collection of worksheets, 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

IWorksheets Interface
IWorksheets Members

Send Feedback