Returns the index of the item in the list with the specified property name and value.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public int Find(
	string propertyName,
	Object key
)
Visual Basic
Public Function Find ( _
	propertyName As String, _
	key As Object _
) As Integer

Parameters

propertyName
Type: System..::..String
The property name to search on.
key
Type: System..::..Object
The value of the property parameter to search for.

Return Value

The index of the item in the list with the specified property name and value.

See Also