Spread Silverlight Documentation
IndexOf Method (ExcelWorksheetCollection)


The object to locate in the collection
searches for the specified object and returns the zero-based index of the first occurrence within the entire collection
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal worksheet As IExcelWorksheet _
) As System.Integer
'Usage
 
Dim instance As ExcelWorksheetCollection
Dim worksheet As IExcelWorksheet
Dim value As System.Integer
 
value = instance.IndexOf(worksheet)
public System.int IndexOf( 
   IExcelWorksheet worksheet
)

Parameters

worksheet
The object to locate in the collection

Return Value

The zero based index of the first occurrence of ExcelWorksheet within the entire collection, if found; otherwise, –1.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ExcelWorksheetCollection Class
ExcelWorksheetCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.