Interface for a collection of CogShapeModel objects.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 93.1.0.0
Syntax
The ICogShapeModelCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add | ||
| Clear | ||
| CopyTo(Array, Int32) | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.) | |
| CopyTo(Array, Int32) | ||
| Insert | ||
| Move | ||
| RemoveAt | ||
| ResumeAndRaiseChangedEvent |
Re-enables raising of the Changed event after SuspendChangedEvent
has been called, and raises the Changed event if the
ChangedEventSuspended count is reduced to zero and any changes were
made while events were suspended. Must be called once for each call to
SuspendChangedEvent.
(Inherited from ICogChangedEvent.) | |
| SuspendChangedEvent |
Temporarily suspends the raising of the Changed event. May be called
more than once, and a corresponding call to ResumeAndRaiseChangedEvent
must be made for each call to SuspendChangedEvent.
(Inherited from ICogChangedEvent.) |
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
Indicates if the raising of the Changed event has been suspended.
(Inherited from ICogChangedEvent.) | |
| Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection.) | |
| Count | ||
| IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.) | |
| IsSynchronized | ||
| Item | ||
| 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 ICogChangedEvent.) | |
| SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.) | |
| SyncRoot |
Events
| Name | Description | |
|---|---|---|
| Changed |
This event is raised when one or more parts of the object's state may
have changed.
(Inherited from ICogChangedEvent.) | |
| Cleared |
Raised after the collection is cleared.
(Inherited from ICogCollectionEvents.) | |
| Clearing |
Raised before the collection is cleared.
(Inherited from ICogCollectionEvents.) | |
| InsertedItem |
Raised after an item is inserted.
(Inherited from ICogCollectionEvents.) | |
| InsertingItem |
Raised before an item is inserted.
(Inherited from ICogCollectionEvents.) | |
| MovedItem |
Raised after an item is moved to a new index.
(Inherited from ICogCollectionEvents.) | |
| MovingItem |
Raised before an item is moved to a new index.
(Inherited from ICogCollectionEvents.) | |
| RemovedItem |
Raised after an item is removed.
(Inherited from ICogCollectionEvents.) | |
| RemovingItem |
Raised before an item is removed.
(Inherited from ICogCollectionEvents.) | |
| ReplacedItem |
Raised after an item is replaced.
(Inherited from ICogCollectionEvents.) | |
| ReplacingItem |
Raised before an item is replaced.
(Inherited from ICogCollectionEvents.) |
Remarks
Interface for a collection of CogShapeModel objects.
See Also