ClassifyTrainItemCollection ClassCognex VisionPro 9.23

Class which holds a collection of ClassifyTrainItem. An instance of this class will be created and held by the ClassifyPattern.

Inheritance Hierarchy

System Object
  Cognex.Vision.ViDiEL.Implementation CollectionOfClassifyTrainItemPtr
    Cognex.Vision.ViDiEL ClassifyTrainItemCollection

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

public sealed class ClassifyTrainItemCollection : CollectionOfClassifyTrainItemPtr, 
	IObject

The ClassifyTrainItemCollection type exposes the following members.

Methods

  NameDescription
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 CollectionOfClassifyTrainItemPtr CopyTo( ClassifyTrainItem , Int32).)
Public methodEquals
Compares the equality of this object with another.
(Overrides Object Equals(Object).)
Public methodGetEnumerator
Returns an IEnumerator for the collection.
(Overrides CollectionOfClassifyTrainItemPtr GetEnumerator .)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides Object GetHashCode .)
Public methodGetItem
Get the item at the specified index.
(Overrides CollectionOfClassifyTrainItemPtr GetItem(Int32).)
Public methodGetTrainItem

Returns the train item with the image id specified.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Operators

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

  NameDescription
Public propertyCount

Get the number of elements contained in this collection.

(Overrides CollectionOfClassifyTrainItemPtr Count.)
Public propertyHandle (Overrides CollectionOfClassifyTrainItemPtr Handle.)
Public propertyItem (Overrides CollectionOfClassifyTrainItemPtr Item Int32 .)
Top
See Also