Tries to find a value in a list.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0
Syntax
VB
Function FindValue ( valueList As ICollection, operator As String, value As Object, Optional tolerance As Double = 1E-07 ) As Object
C#
Object FindValue( ICollection valueList, string operator, Object value, double tolerance = 1E-07 )
Parameters
- valueList
- Type: System.Collections.ICollection
A list of values. - operator
- Type: System.String
An operator for the test. Possible values are "=", "<", ">", "<=" and ">=". - value
- Type: System.Object
The value to find. - tolerance (Optional)
- Type: System.Double
For numeric parameters, a tolerance value for equality tests.
Return Value
Type: ObjectThe found value. This will be Nothing if the value is not found.