CogReadOnlyCollectionNonSerializable T  ClassCognex VisionPro 9.23
Base class to be used for a generic, NON-Serializable ordered collection of values that cannot be changed after it is contsructed.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogReadOnlyCollectionNonSerializable T 
        Cognex.VisionPro.Comm CogCommCards

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public class CogReadOnlyCollectionNonSerializable<T> : CogObjectBase, 
	IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters

T

The CogReadOnlyCollectionNonSerializable T  type exposes the following members.

Constructors

  NameDescription
Protected methodCogReadOnlyCollectionNonSerializable T  
Constructs an empty CogReadOnlyCollectionNonSerializable;
Protected methodCogReadOnlyCollectionNonSerializable T (List T )
Wraps the items list int a CogReadOnlyCollectionNonSerializable. 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.
Protected methodCogReadOnlyCollectionNonSerializable T ( T )
Constructs a new instance of the CogReadOnlyCollectionNonSerializable class. Note that the properties of the collection elements themselves can still be changed via this interface.
Top
Methods

  NameDescription
Public methodContains
Determines whether an element is in the collection.
Public methodCopyTo
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Causes the list of items to show up in the property grid.
(Overrides CogObjectBase GetProperties( Attribute ).)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches the collection for the specified object and returns the zero-based index of the first occurrence.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToArray
Calls CopyTo() and returns a new array which contains the members of this collection.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Protected fieldmInnerList
Top
Properties

  NameDescription
Public propertyCount
The number of elements contained in the Collection.
Public propertyItem
Gets the element at the specified index.
Top
See Also