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

Namespace:  C1.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public int Find(
	string propertyName,
	Object key
)
Visual Basic (Declaration)
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