Click or drag to resize
SoMFBool.Find Method (Boolean, Boolean)

Finds the given targetValue in the array and returns the index of that value.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public int Find(
	bool targetValue,
	bool addIfNotFound
)

Parameters

targetValue
Type: System.Boolean
addIfNotFound
Type: System.Boolean

Return Value

Type: Int32
Remarks

in the array. If the value is not found, -1 is returned. If addIfNotFound is set, then targetValue is added to the end of the array (but -1 is still returned).

See Also