IndexOf

IndexOf(IBehaviorProperty)

Determines the index of a specific item in the IList.

public int IndexOf(IBehaviorProperty item)
ParameterTypeDescription
itemIBehaviorPropertyThe 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)
ParameterTypeDescription
propertyValueStringvalue of the property

Return Value

The index of the property with the specified value

See Also