Base class to be used for a generic, serializable ordered collection of values
that cannot be changed after it is contsructed. Intended to be used for
Tool results collections.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.Implementation CogReadOnlyCollection T
Cognex.VisionPro.CalibFix CogCalibFeaturesSymbolParseResults
Cognex.VisionPro.CalibFix CogCalibFeaturesSymbolParseResultsMCameras
Cognex.VisionPro.CalibFix CogCalibFeaturesSymbolParseResultsMCamerasNPoses
Cognex.VisionPro.EdgeInspect CogBeadInspectDefects
Cognex.VisionPro.EdgeInspect CogBeadInspectFindResults
Cognex.VisionPro.ID CogIDResults
Cognex.VisionPro.Implementation CogReadOnlyIntCollection
Cognex.VisionPro.LineMax CogLineMaxEdgePointCollection
Cognex.VisionPro.OCRMax CogOCRMaxClassifierCharResultCollection
Cognex.VisionPro.OCRMax CogOCRMaxClassifierLineResult
Cognex.VisionPro.OCRMax CogOCRMaxFieldingLineResult
Cognex.VisionPro.OCRMax CogOCRMaxLineResult
Cognex.VisionPro.OCRMax CogOCRMaxSegmenterElementInfoCollection
Cognex.VisionPro.OCRMax CogOCRMaxSegmenterLineResult
Cognex.VisionPro.OCRMax CogOCRMaxSegmenterParagraphResult
Cognex.VisionPro.OCRMax CogOCRMaxSegmenterResult
Cognex.VisionPro.ViDiEL CogSegmentResults
Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 80.0.0.0 (80.0.0.0)
Syntax
Type Parameters
- T
The CogReadOnlyCollection T type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogReadOnlyCollection T |
Constructs an empty CogReadOnlyCollection;
| |
| CogReadOnlyCollection T (List T ) |
Wraps the items list int a CogReadOnlyCollection.
Note that changes to the original list will be reflected
in the Read only collection.
Note that the properties of the collection elements themselves can still
be changed via this interface.
| |
| CogReadOnlyCollection T ( T ) |
Constructs a new instance of the CogReadOnlyCollection class.
Note that the properties of the collection elements themselves can still
be changed via this interface.
| |
| CogReadOnlyCollection T (SerializationInfo, StreamingContext) |
Special serialization constructor.
|
Methods
| Name | Description | |
|---|---|---|
| Contains |
Determines whether an element is in the collection.
| |
| CopyTo |
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Causes the list of items to show up in the property grid.
(Overrides CogObjectBase GetProperties( Attribute ).) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Searches the collection for the specified object and returns the zero-based index of the first occurrence.
| |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToArray |
Calls CopyTo() and returns a new array which contains the members of this collection.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| mInnerList |
Properties
| Name | Description | |
|---|---|---|
| Count |
The number of elements contained in the Collection.
| |
| Item |
Gets the element at the specified index.
|
See Also