The CogToolBlock type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AbortRunOnToolFailure |
Gets or sets a flag indicating if the Run invocation should abort if
the Run method of any of its contained tools fails.
(Inherited from CogUserTool.) | |
| AllTools | (Overrides CogUserTool AllTools.) | |
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| ChangedEventSuspended |
If nonzero, indicates that the raising of the Changed event has been
suspended. This value is incremented when SuspendChangedEvent is called
and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| DataBindings |
Gets the data bindings for the tool.
(Inherited from CogToolBase.) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | |
| DisabledTools |
Gets the collection of tools that are omitted from those run by this
tool group.
(Inherited from CogToolGroup.) | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| ExtraTools |
Tools that aren't part of the main tools collection but are still tools owned by this
user tool... like ToolBlock Inputs and Outputs.
(Overrides CogUserTool ExtraTools.) | |
| FailOnInvalidDataBinding |
Specifies that the Run method is to fail if executed while one or more
data bindings are invalid.
(Inherited from CogToolBase.) | |
| GarbageCollectionEnabled |
Gets or sets the flag indicating that garbage collection is to be run
periodically.
(Inherited from CogToolGroup.) | |
| GarbageCollectionFrequency |
Gets or sets the frequency at which garbage collection is to be run.
(Inherited from CogToolGroup.) | |
| HasChanged | (Inherited from CogSerializableChangedEventComponentBase.) | |
| Inputs |
A CogToolBlockTerminalCollection of input terminals.
The default is an empty collection.
| |
| LastRunRecordEnable |
Enable creation of records by bitwise ORing the
appropriate CogUserToolLastRunRecordConstants.
(Inherited from CogUserTool.) | |
| Name |
Gets or sets a user-supplied name for the tool.
(Inherited from CogToolBase.) | |
| Outputs |
CogToolBlockTerminalCollection of output terminals.
The default is an empty collection.
| |
| RunStatus |
Gets general information about the last call to the tool's
Run function. Note that serious errors that occur within
the tool's Run method may only be detected by examining the
RunStatus after calling Run. It is the user's responsibility
to examine the tool's RunStatus after calling Run.
(Inherited from CogToolBase.) | |
| Script |
Cognex Internal Use Only.
(Inherited from CogUserTool.) | |
| ScriptData |
Cognex internal use only.
(Inherited from CogToolGroup.) | |
| ScriptError |
Cognex Internal Use Only.
(Inherited from CogUserTool.) | |
| Site | (Inherited from Component.) | |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventComponentBase.) | |
| Tools |
Gets the collection of tools within this tool block.
| |
| UserData |
Gets a CogDictionary object that can be used to store application-specific information.
(Inherited from CogToolBase.) |
See Also