Gets the position of an XLNamedRange object with the specified name in the collection.

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

Syntax

C#
public int IndexOf(
	string name
)
Visual Basic
Public Function IndexOf ( _
	name As String _
) As Integer

Parameters

name
Type: System..::..String
The name of 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