FieldCollection Class

Collection of IField objects.

Inheritance Hierarchy

SystemObject
  TwinCAT.TypeSystem.GenericInstanceCollectionIField
    TwinCAT.TypeSystemFieldCollection

Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public class FieldCollection : InstanceCollection<IField>, 
    IFieldCollection, IInstanceCollection<IField>, IList<IField>, 
    ICollection<IField>, IEnumerable<IField>, IEnumerable

The FieldCollection type exposes the following members.

Constructors

 

Name

Description

FieldCollection Class 1:

FieldCollection

Initializes a new instance of the FieldCollection class.

FieldCollection Class 2:

FieldCollection(IEnumerableIField)

Initializes a new instance of the FieldCollection class (copy constructor)

Properties

 

Name

Description

FieldCollection Class 3:

Count

Gets the collection count.
(Inherited from InstanceCollectionT)

FieldCollection Class 4:

InnerList

Gets the LIst of instances.
(Inherited from InstanceCollectionT)

FieldCollection Class 5:

InnerPathDict

The Path dictionary
(Inherited from InstanceCollectionT)

FieldCollection Class 6:

IsReadOnly

Gets a value indicating whether this instance is read only.
(Inherited from InstanceCollectionT)

FieldCollection Class 7:

ItemInt32

Gets or sets the IInstance at the specified index.
(Inherited from InstanceCollectionT)

FieldCollection Class 8:

ItemString

Gets the IInstance with the specified instance path.
(Inherited from InstanceCollectionT)

FieldCollection Class 9:

Mode

The mode this InstanceCollectionT is working in.
(Inherited from InstanceCollectionT)

Methods

 

Name

Description

FieldCollection Class 10:

Add

Adds the specified item.
(Inherited from InstanceCollectionT)

FieldCollection Class 11:

AddRange

Adds the specified items to this collection.
(Inherited from InstanceCollectionT)

FieldCollection Class 12:

AsReadOnly

Returns a read only copy of this collection (shallow copy)

FieldCollection Class 13:

Clear

Clears this instance.
(Inherited from InstanceCollectionT)

FieldCollection Class 14:

Clone

Clones this FieldCollection.

FieldCollection Class 15:

Contains(T)

Determines whether this collection contains the specified IInstance
(Inherited from InstanceCollectionT)

FieldCollection Class 16:

Contains(String)

Determines whether this collection contains an IInstance with the specified InstanceName / InstancePath
(Inherited from InstanceCollectionT)

FieldCollection Class 17:

ContainsName

Determines whether the specified instance name contains name.
(Inherited from InstanceCollectionT)

FieldCollection Class 18:

CopyTo

Copies this InstanceCollectionT to the specified array.
(Inherited from InstanceCollectionT)

FieldCollection Class 19:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

FieldCollection Class 20:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

FieldCollection Class 21:

GetEnumerator

Gets the enumerator.
(Inherited from InstanceCollectionT)

FieldCollection Class 22:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

FieldCollection Class 23:

GetInstance

Gets the IInstanceby instance path.
(Inherited from InstanceCollectionT)

FieldCollection Class 24:

GetInstanceByName

Gets the name of the instance by.
(Inherited from InstanceCollectionT)

FieldCollection Class 25:

GetType

Gets the Type of the current instance.
(Inherited from Object)

FieldCollection Class 26:

IndexOf

Determines the index of the specified IInstance.
(Inherited from InstanceCollectionT)

FieldCollection Class 27:

Insert

Inserts the specified IInstance at the specified index.
(Inherited from InstanceCollectionT)

FieldCollection Class 28:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

FieldCollection Class 29:

Remove

Removes the specified item.
(Inherited from InstanceCollectionT)

FieldCollection Class 30:

RemoveAt

Removes the IInstance at the specified index.
(Inherited from InstanceCollectionT)

FieldCollection Class 31:

ToString

Returns a string that represents the current object.
(Inherited from Object)

FieldCollection Class 32:

TryGetInstance

Tries to get the IInstance. of the specified path.
(Inherited from InstanceCollectionT)

FieldCollection Class 33:

TryGetInstanceByName

Tries to get Instances by name.
(Inherited from InstanceCollectionT)

FieldCollection Class 34:

TryGetMember

Tries to get the specified member

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026