IMemberCollection Interface

Interface IMemberCollection Implements the IInstanceCollectionT


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

Syntax

C#

public interface IMemberCollection : IInstanceCollection<IMember>, 
    IList<IMember>, ICollection<IMember>, IEnumerable<IMember>, 
    IEnumerable

The IMemberCollection type exposes the following members.

Properties

 

Name

Description

IMemberCollection Interface 1:

Count

Gets the number of elements contained in the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Interface 2:

Instances

Gets the Instance members (non static)

IMemberCollection Interface 3:

IsReadOnly

Gets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionIMember)

IMemberCollection Interface 4:

ItemInt32

Gets or sets the element at the specified index.
(Inherited from IListIMember)

IMemberCollection Interface 5:

ItemString

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

IMemberCollection Interface 6:

Mode

Gets the InstanceCollectionMode.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 7:

Statics

Gets the Static Members

Methods

 

Name

Description

IMemberCollection Interface 8:

Add

Adds an item to the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Interface 9:

CalcSize

Calculates the Byte Size of the IMemberCollection

IMemberCollection Interface 10:

Clear

Removes all items from the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Interface 11:

Contains(T)

Determines whether the ICollectionT contains a specific value.
(Inherited from ICollectionIMember)

IMemberCollection Interface 12:

Contains(String)

Determines whether this collection contains an instance with the specified instance path.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 13:

ContainsName

Determines whether this collection contains an instance with the specified instance name.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 14:

CopyTo

Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionIMember)

IMemberCollection Interface 15:

GetEnumerator

Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIMember)

IMemberCollection Interface 16:

GetInstance

Gets the IInstanceby instance path.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 17:

GetInstanceByName

Gets the IInstance by instance name.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 18:

IndexOf

Determines the index of a specific item in the IListT.
(Inherited from IListIMember)

IMemberCollection Interface 19:

Insert

Inserts an item to the IListT at the specified index.
(Inherited from IListIMember)

IMemberCollection Interface 20:

Remove

Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Interface 21:

RemoveAt

Removes the IListT item at the specified index.
(Inherited from IListIMember)

IMemberCollection Interface 22:

TryGetInstance

Tries to get the specified instance.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 23:

TryGetInstanceByName

Tries to get the specified instance by name.
(Inherited from IInstanceCollectionT)

IMemberCollection Interface 24:

TryGetMember

Gets the member with the specified name from the collection.

Reference

TwinCAT.TypeSystem Namespace IInstanceCollectionT

Beckhoff Automation GmbH & Co. KG 2001-2026