Excel for WPF and Silverlight
IndexOf(XLNamedRange) Method

C1.WPF.Excel Namespace > XLNamedRangeCollection Class > IndexOf Method : IndexOf(XLNamedRange) Method
The XLNamedRange object to look for.
Gets the position of an XLNamedRange object in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal nr As XLNamedRange _
) As System.Integer
public System.int IndexOf( 
   XLNamedRange nr
)

Parameters

nr
The XLNamedRange object to look for.

Return Value

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

Reference

XLNamedRangeCollection Class
XLNamedRangeCollection Members
Overload List