Returns the 0-based index of a NamedCollectionItem with specified name in the current NamedCollection.

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 of the item to locate.

Return Value

The 0-based index of the specified item, or -1 if the item was not found.

See Also