Gets the position of an XLNamedRange object in the collection.

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

Syntax

C#
public int IndexOf(
	XLNamedRange nr
)
Visual Basic
Public Function IndexOf ( _
	nr As XLNamedRange _
) As Integer

Parameters

nr
Type: C1.Silverlight.Excel..::..XLNamedRange
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