Excel for WPF and Silverlight
IndexOf Method (XLColumnCollection)

C1.WPF.Excel Namespace > XLColumnCollection Class : IndexOf Method
Item to look for.
Gets the index of a given XLRow object in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal col As XLColumn _
) As System.Integer
public System.int IndexOf( 
   XLColumn col
)

Parameters

col
Item to look for.

Return Value

The position of the item in the collection, or -1 if the item is not a member of the collection.
See Also

Reference

XLColumnCollection Class
XLColumnCollection Members