IMemberCollection Interface

Interface IMemberCollection 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 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 ICollection.T.. (Inherited from ICollection.IMember..)

IMemberCollection Interface 2:

Instances

Gets the Instance members (non static)

IMemberCollection Interface 3:

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only. (Inherited from ICollection.IMember..)

IMemberCollection Interface 4:

Item.Int32.

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

IMemberCollection Interface 5:

Item.String.

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

IMemberCollection Interface 6:

Mode

Gets the InstanceCollectionMode. (Inherited from IInstanceCollection.T..)

IMemberCollection Interface 7:

Statics

Gets the Static Members

Methods

 

Name

Description

IMemberCollection Interface 8:

Add

Adds an item to the ICollection.T.. (Inherited from ICollection.IMember..)

IMemberCollection Interface 9:

CalcSize

Calculates the Byte Size of the IMemberCollection

IMemberCollection Interface 10:

Clear

Removes all items from the ICollection.T.. (Inherited from ICollection.IMember..)

IMemberCollection Interface 11:

Contains(T)

Determines whether the ICollection.T. contains a specific value. (Inherited from ICollection.IMember..)

IMemberCollection Interface 12:

Contains(String)

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

IMemberCollection Interface 13:

ContainsName

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

IMemberCollection Interface 14:

CopyTo

Copies the elements of the ICollection.T. to an Array, starting at a particular Array index. (Inherited from ICollection.IMember..)

IMemberCollection Interface 15:

GetEnumerator

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

IMemberCollection Interface 16:

GetInstance

Gets the IInstanceby instance path. (Inherited from IInstanceCollection.T..)

IMemberCollection Interface 17:

GetInstanceByName

Gets the IInstance by instance name. (Inherited from IInstanceCollection.T..)

IMemberCollection Interface 18:

IndexOf

Determines the index of a specific item in the IList.T.. (Inherited from IList.IMember..)

IMemberCollection Interface 19:

Insert

Inserts an item to the IList.T. at the specified index. (Inherited from IList.IMember..)

IMemberCollection Interface 20:

Remove

Removes the first occurrence of a specific object from the ICollection.T.. (Inherited from ICollection.IMember..)

IMemberCollection Interface 21:

RemoveAt

Removes the IList.T. item at the specified index. (Inherited from IList.IMember..)

IMemberCollection Interface 22:

TryGetInstance

Tries to get the specified instance. (Inherited from IInstanceCollection.T..)

IMemberCollection Interface 23:

TryGetInstanceByName

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

IMemberCollection Interface 24:

TryGetMember

Gets the member with the specified name from the collection.

Reference

TwinCAT.TypeSystem Namespace

TwinCAT.TypeSystem.IInstanceCollection.T.