Determines whether the collection contains an XLSheet object with a given name.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public bool Contains(
	string sheetName
)
Visual Basic
Public Function Contains ( _
	sheetName As String _
) As Boolean

Parameters

sheetName
Type: System..::..String
The name of the sheet to look for (case-insensitive).

Return Value

True if the collection contains an XLSheet with the given sheetName; False otherwise.

See Also