Transform2DRigidCollection ClassCognex VisionPro 9.23

Class which holds a collection of Transform2DRigids.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision.Implementation CollectionOfTransform2DRigidPtr
        Cognex.Vision Transform2DRigidCollection

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
Syntax

public sealed class Transform2DRigidCollection : CollectionOfTransform2DRigidPtr, 
	IObject

The Transform2DRigidCollection type exposes the following members.

Constructors

  NameDescription
Public methodTransform2DRigidCollection 

Constructs a new instance of the collection class.

Public methodTransform2DRigidCollection(Int64)

Constructs a new instance of the collection class with an initial capacity specified by the argument.

Top
Methods

  NameDescription
Public methodAdd

Add an item to the end of this collection.

(Overrides CollectionOfTransform2DRigidPtr Add(Transform2DRigid).)
Public methodAddRange
Adds the elements of the specified collection to the end of the collection.
Public methodClear

Remove all items from this collection.

(Overrides CollectionOfTransform2DRigidPtr Clear .)
Public methodContains

Determine whether an item is in this collection.

(Overrides CollectionOfTransform2DRigidPtr Contains(Transform2DRigid).)
Public methodCopyTo
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 CollectionOfTransform2DRigidPtr CopyTo( Transform2DRigid , Int32).)
Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodGetEnumerator
Returns an IEnumerator for the collection.
(Overrides CollectionOfTransform2DRigidPtr GetEnumerator .)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetItem
Get the item at the specified index.
(Overrides CollectionOfTransform2DRigidPtr GetItem(Int32).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides CollectionOfTransform2DRigidPtr GetTypeMeta .)
Public methodIndexOf

Find the first item in this collection that matches the supplied item, and return its index.

(Overrides CollectionOfTransform2DRigidPtr IndexOf(Transform2DRigid).)
Public methodInsert

Insert the given item at the specified index.

(Overrides CollectionOfTransform2DRigidPtr Insert(Int32, Transform2DRigid).)
Public methodMove

Move the selected item to a new index in this collection.

(Overrides CollectionOfTransform2DRigidPtr Move(Int32, Int32).)
Public methodRemove

Remove the specified item from this collection.

(Overrides CollectionOfTransform2DRigidPtr Remove(Transform2DRigid).)
Public methodRemoveAt

Remove the item at the specified index.

(Overrides CollectionOfTransform2DRigidPtr RemoveAt(Int32).)
Public methodReserve

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.

(Overrides CollectionOfTransform2DRigidPtr Reserve(Int64).)
Public methodResumeAndRaiseChangedEvent

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.

(Overrides CollectionOfTransform2DRigidPtr ResumeAndRaiseChangedEvent .)
Public methodsetItem

Replace the element at the specified index.

(Overrides CollectionOfTransform2DRigidPtr setItem(Int32, Transform2DRigid).)
Public methodSuspendChangedEvent

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.

(Overrides CollectionOfTransform2DRigidPtr SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides CollectionOfTransform2DRigidPtr ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two Transform2DRigidCollection objects.
Public operatorStatic memberInequality
Compares the inequality of two Transform2DRigidCollection objects.
Top
Properties

  NameDescription
Public propertyCapacity

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.

(Overrides CollectionOfTransform2DRigidPtr Capacity.)
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides CollectionOfTransform2DRigidPtr ChangedEventSuspended.)
Public propertyCount

Get the number of elements contained in this collection.

(Overrides CollectionOfTransform2DRigidPtr Count.)
Public propertyHandle (Overrides CollectionOfTransform2DRigidPtr Handle.)
Public propertyIsReadOnly

Get whether or not this collection is read-only.

(Overrides CollectionOfTransform2DRigidPtr IsReadOnly.)
Public propertyItem (Overrides CollectionOfTransform2DRigidPtr Item Int32 .)
Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides CollectionOfTransform2DRigidPtr Changed.)
Public eventCleared

Raised after the collection is cleared.

(Overrides CollectionOfTransform2DRigidPtr Cleared.)
Public eventClearing

Raised before the collection is cleared.

(Overrides CollectionOfTransform2DRigidPtr Clearing.)
Public eventInsertedItem

Raised after an item is inserted.

(Overrides CollectionOfTransform2DRigidPtr InsertedItem.)
Public eventInsertingItem

Raised before an item is inserted.

(Overrides CollectionOfTransform2DRigidPtr InsertingItem.)
Public eventMovedItem

Raised after an item is moved to a new index.

(Overrides CollectionOfTransform2DRigidPtr MovedItem.)
Public eventMovingItem

Raised before an item is moved to a new index.

(Overrides CollectionOfTransform2DRigidPtr MovingItem.)
Public eventRemovedItem

Raised after an item is removed.

(Overrides CollectionOfTransform2DRigidPtr RemovedItem.)
Public eventRemovingItem

Raised before an item is removed.

(Overrides CollectionOfTransform2DRigidPtr RemovingItem.)
Public eventReplacedItem

Raised after an item is replaced.

(Overrides CollectionOfTransform2DRigidPtr ReplacedItem.)
Public eventReplacingItem

Raised before an item is replaced.

(Overrides CollectionOfTransform2DRigidPtr ReplacingItem.)
Top
See Also