IndexOf

IndexOf(IBehaviorProperty)

Determines the index of a specific item in the IList.

public int IndexOf(IBehaviorProperty item)
Parameter Type Description
item IBehaviorProperty The object to locate in the IList.

Return Value

The index of item if found in the list; otherwise, -1.

See Also


IndexOf(string)

Determines the index of a specific item by property value in the IList.

public int IndexOf(string propertyValue)
Parameter Type Description
propertyValue String value of the property

Return Value

The index of the property with the specified value

See Also