Excel for WinRT
IndexOf Method (XLColumnCollection)


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
'Usage
 
Dim instance As XLColumnCollection
Dim col As XLColumn
Dim value As System.Integer
 
value = instance.IndexOf(col)
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

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback