Class which holds a collection of Vect2.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision.Implementation CollectionOfVect2Ptr
Cognex.Vision Vect2Collection
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
The Vect2Collection type exposes the following members.
| Name | Description | |
|---|---|---|
| Vect2Collection | Constructs a new instance of the collection class. | |
| Vect2Collection(Int64) | Constructs a new instance of the collection class with an initial capacity specified by the argument. |
| Name | Description | |
|---|---|---|
| Add | Add an item to the end of this collection. | |
| AddRange | Adds the elements of the specified collection to the end of the collection. | |
| Clear | Remove all items from this collection. | |
| Contains | Determine whether an item is in this collection. | |
| CopyTo |
Copies all the elements of the collection to the specified one-dimensional array
starting at the specified destination array index. The index is specified as a 32-bit integer.
(Overrides CollectionOfVect2Ptr CopyTo( Vect2 , Int32).) | |
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| GetEnumerator |
Returns an IEnumerator for the collection.
(Overrides CollectionOfVect2Ptr GetEnumerator .) | |
| GetHashCode | Returns the hash code of this object. (Overrides ChangedEventShareableBase GetHashCode .) | |
| GetItem | Get the item at the specified index. (Overrides CollectionOfVect2Ptr GetItem(Int32).) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| IndexOf | Find the first item in this collection that matches the supplied item, and return its index. | |
| Insert | Insert the given item at the specified index. | |
| Move | Move the selected item to a new index in this collection. | |
| Remove | Remove the specified item from this collection. | |
| RemoveAt | Remove the item at the specified index. | |
| Reserve | Set the collection capacity be at least the specified number of items. If minimumCapacity is greater than the current collection capacity, this method will cause the collection to reallocate its storage, increasing its capacity to at least minimumCapacity. Attempts to set capacity to a value less than or equal to the current value are ignored. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent 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. | |
| setItem | Replace the element at the specified index. | |
| SuspendChangedEvent | Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two Vect2Collection objects. | |
| Inequality | Compares the inequality of two Vect2Collection objects. |
| Name | Description | |
|---|---|---|
| Capacity | Get the capacity of this collection. This is the maximum number of items that may be stored in this collection without reallocation. Capacity is increased automatically as needed to hold added items. | |
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Count | Get the number of elements contained in this collection. | |
| Handle | (Overrides CollectionOfVect2Ptr Handle.) | |
| IsReadOnly | Get whether or not this collection is read-only. | |
| Item | (Overrides CollectionOfVect2Ptr Item Int32 .) |
| Name | Description | |
|---|---|---|
| Changed | The actual event. | |
| Cleared | Raised after the collection is cleared. | |
| Clearing | Raised before the collection is cleared. | |
| InsertedItem | Raised after an item is inserted. | |
| InsertingItem | Raised before an item is inserted. | |
| MovedItem | Raised after an item is moved to a new index. | |
| MovingItem | Raised before an item is moved to a new index. | |
| RemovedItem | Raised after an item is removed. | |
| RemovingItem | Raised before an item is removed. | |
| ReplacedItem | Raised after an item is replaced. | |
| ReplacingItem | Raised before an item is replaced. |