CogToolTerminals CogInvalidCastContants EnumerationCognex VisionPro 9.21
This enum is used by members of CogToolTerminals to switch between different behaviors regarding how paths which contain invalid casts are handled. Most times (like when we are parsing paths or evaluating links) we wish to follow the path as though the cast had succedded, even if it didn't. Other times. like when we are trying to get the value of the terminal we want to ignore the actual cast and pretend as though the cast was to the type of which the object actually is. I think this goes back to the original databinding philosophy that started with Jay. In a nutshell I think this philosophy says "we will try anything we can to make a binding to an existing path succeed."

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 83.0.0.0 (83.0.0.0)
Syntax

public enum CogInvalidCastContants
Members

  Member nameValueDescription
Throw0
TrueToPath1
TrueToObj2
See Also