ICogModelFeatureIterator IsInvalid Property Cognex VisionPro 9.22 SR1
Returns True if this iterator is not positioned at a valid item. If True, reading or writing any item properties will produce errors.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.1.0.0
Syntax

bool IsInvalid { get; }

Property Value

Type: Boolean
Remarks

Returns True if this iterator is not positioned at a valid item.

If True, setting or getting any item properties produces errors.

Note: An iterator will become invalid if you remove the model feature that it refers to.

See Also