ICogShapeModelCollection InterfaceCognex VisionPro 9.25 SR1
Interface for a collection of CogShapeModel objects.

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

public interface ICogShapeModelCollection : ICogChangedEvent, 
	ICogCollectionEvents, ICollection

The ICogShapeModelCollection type exposes the following members.

Methods

  NameDescription
Public methodAdd
Public methodClear
Public methodCopyTo(Array, Int32)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection.)
Public methodCopyTo(Array, Int32)
Public methodInsert
Public methodMove
Public methodRemoveAt
Public methodResumeAndRaiseChangedEvent
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.)
Public methodSuspendChangedEvent
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.)
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
Indicates if the raising of the Changed event has been suspended.
(Inherited from ICogChangedEvent.)
Public propertyCount
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.)
Public propertyCount
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.)
Public propertyIsSynchronized
Public propertyItem
Public propertyStateFlags
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.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.)
Public propertySyncRoot
Top
Events

  NameDescription
Public eventChanged
This event is raised when one or more parts of the object's state may have changed.
(Inherited from ICogChangedEvent.)
Public eventCleared
Raised after the collection is cleared.
(Inherited from ICogCollectionEvents.)
Public eventClearing
Raised before the collection is cleared.
(Inherited from ICogCollectionEvents.)
Public eventInsertedItem
Raised after an item is inserted.
(Inherited from ICogCollectionEvents.)
Public eventInsertingItem
Raised before an item is inserted.
(Inherited from ICogCollectionEvents.)
Public eventMovedItem
Raised after an item is moved to a new index.
(Inherited from ICogCollectionEvents.)
Public eventMovingItem
Raised before an item is moved to a new index.
(Inherited from ICogCollectionEvents.)
Public eventRemovedItem
Raised after an item is removed.
(Inherited from ICogCollectionEvents.)
Public eventRemovingItem
Raised before an item is removed.
(Inherited from ICogCollectionEvents.)
Public eventReplacedItem
Raised after an item is replaced.
(Inherited from ICogCollectionEvents.)
Public eventReplacingItem
Raised before an item is replaced.
(Inherited from ICogCollectionEvents.)
Top
Remarks

Interface for a collection of CogShapeModel objects.

See Also