This class implements a boolean "in use" flag that can be
easily set to true for the duration of a C# "using" statement.
Inheritance Hierarchy
Cognex.VisionPro CogInUseFlag
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
The CogInUseFlag type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogInUseFlag |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| StartUsing |
Start using this flag object. This method can be
placed inside a C# "using" statement.
| |
| StopUsing |
Stop using this flag object.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| InUse |
Gets a value indicating whether this flag is currently in use.
|
See Also