Searches the current collection for an object with the specified Name.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

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

Parameters

name
Type: System..::..String
The name to search for.

Return Value

Index of the object in the current collection, or -1 if no object was found.

See Also