IInstanceCollection.T. Interface
Generic InstanceColleciton interface.
          Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public interface IInstanceCollection<T> : IList<T>,
ICollection<T>, IEnumerable<T>, IEnumerable
where T : IInstance
VB
Public Interface IInstanceCollection(Of T As IInstance)
Inherits IList(Of T), ICollection(Of T), IEnumerable(Of T),
IEnumerable
Type Parameters
| 
                   T  | 
The IInstanceCollection.T. type exposes the following members.
Properties
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Gets the number of elements contained in the ICollection.T.. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Gets a value indicating whether the ICollection.T. is read-only. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Gets or sets the element at the specified index. (Inherited from IList.T..)  | |
| 
                   
                      | 
                   Gets the IInstance with the specified instance path.  | |
| 
                   
                      | 
                   Gets the InstanceCollectionMode.  | 
Methods
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Adds an item to the ICollection.T.. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Removes all items from the ICollection.T.. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Determines whether the ICollection.T. contains a specific value. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Determines whether this collection contains an instance with the specified instance path.  | |
| 
                   
                      | 
                   Determines whether this collection contains an instance with the specified instance name.  | |
| 
                   
                      | 
                   Copies the elements of the ICollection.T. to an Array, starting at a particular Array index. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Returns an enumerator that iterates through the collection. (Inherited from IEnumerable.T..)  | |
| 
                   
                      | 
                   Gets the IInstanceby instance path.  | |
| 
                   
                      | 
                   Gets the IInstance by instance name.  | |
| 
                   
                      | 
                   Determines the index of a specific item in the IList.T.. (Inherited from IList.T..)  | |
| 
                   
                      | 
                   Inserts an item to the IList.T. at the specified index. (Inherited from IList.T..)  | |
| 
                   
                      | 
                   Removes the first occurrence of a specific object from the ICollection.T.. (Inherited from ICollection.T..)  | |
| 
                   
                      | 
                   Removes the IList.T. item at the specified index. (Inherited from IList.T..)  | |
| 
                   
                      | 
                   Tries to get the specified instance.  | |
| 
                   
                      | 
                   Tries to get the specified instance by name.  |