IFieldCollection Interface
Interface IFieldCollection Implements the IInstanceCollection.T.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public interface IFieldCollection : IInstanceCollection<IField>,
IList<IField>, ICollection<IField>, IEnumerable<IField>,
IEnumerable
The IFieldCollection type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Count |
Gets the number of elements contained in the ICollection.T.. (Inherited from ICollection.IField..) |
|
IsReadOnly |
Gets a value indicating whether the ICollection.T. is read-only. (Inherited from ICollection.IField..) |
|
Item.Int32. |
Gets or sets the element at the specified index. (Inherited from IList.IField..) |
|
Gets the IInstance with the specified instance path. (Inherited from IInstanceCollection.T..) | |
|
Gets the InstanceCollectionMode. (Inherited from IInstanceCollection.T..) |
Methods
|
Name |
Description |
---|---|---|
|
Add |
Adds an item to the ICollection.T.. (Inherited from ICollection.IField..) |
|
Clear |
Removes all items from the ICollection.T.. (Inherited from ICollection.IField..) |
|
Contains(T) |
Determines whether the ICollection.T. contains a specific value. (Inherited from ICollection.IField..) |
|
Determines whether this collection contains an instance with the specified instance path. (Inherited from IInstanceCollection.T..) | |
|
Determines whether this collection contains an instance with the specified instance name. (Inherited from IInstanceCollection.T..) | |
|
CopyTo |
Copies the elements of the ICollection.T. to an Array, starting at a particular Array index. (Inherited from ICollection.IField..) |
|
GetEnumerator |
Returns an enumerator that iterates through the collection. (Inherited from IEnumerable.IField..) |
|
Gets the IInstanceby instance path. (Inherited from IInstanceCollection.T..) | |
|
Gets the IInstance by instance name. (Inherited from IInstanceCollection.T..) | |
|
IndexOf |
Determines the index of a specific item in the IList.T.. (Inherited from IList.IField..) |
|
Insert |
Inserts an item to the IList.T. at the specified index. (Inherited from IList.IField..) |
|
Remove |
Removes the first occurrence of a specific object from the ICollection.T.. (Inherited from ICollection.IField..) |
|
RemoveAt |
Removes the IList.T. item at the specified index. (Inherited from IList.IField..) |
|
Tries to get the specified instance. (Inherited from IInstanceCollection.T..) | |
|
Tries to get the specified instance by name. (Inherited from IInstanceCollection.T..) | |
|
Gets the Field/Member with the specified name from the collection. |