MemberCollection Class

Collection of IMember objects.

Inheritance Hierarchy

System.Object
  TwinCAT.TypeSystem.Generic.InstanceCollection.IMember.
    TwinCAT.TypeSystem.MemberCollection
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public class MemberCollection : InstanceCollection<IMember>

VB

Public Class MemberCollection
    Inherits InstanceCollection(Of IMember)

The MemberCollection type exposes the following members.

Constructors

 

Name

Description

MemberCollection Class 1:

MemberCollection.

Initializes a new instance of the MemberCollection class.

MemberCollection Class 2:

MemberCollection(IEnumerable.IMember.)

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

Properties

 

Name

Description

MemberCollection Class 3:

Count

Gets the collection count. (Inherited from InstanceCollection.T..)

MemberCollection Class 4:

IsReadOnly

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

MemberCollection Class 5:

Item.Int32.

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

MemberCollection Class 6:

Item.String.

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

MemberCollection Class 7:

Mode

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

Methods

 

Name

Description

MemberCollection Class 8:

Add

Adds the specified item. (Inherited from InstanceCollection.T..)

MemberCollection Class 9:

AddRange

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

MemberCollection Class 10:

AsReadOnly

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

MemberCollection Class 11:

Clear

Clears this instance. (Inherited from InstanceCollection.T..)

MemberCollection Class 12:

Clone

Clones this MemberCollection.

MemberCollection Class 13:

Contains(String)

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

MemberCollection Class 14:

Contains(T)

Determines whether this collection contains the specified IInstance (Inherited from InstanceCollection.T..)

MemberCollection Class 15:

ContainsName

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

MemberCollection Class 16:

CopyTo

Copies this InstanceCollection.T. to the specified array. (Inherited from InstanceCollection.T..)

MemberCollection Class 17:

Equals

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

MemberCollection Class 18:

Finalize

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

MemberCollection Class 19:

GetEnumerator

Gets the enumerator. (Inherited from InstanceCollection.T..)

MemberCollection Class 20:

GetHashCode

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

MemberCollection Class 21:

GetInstance

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

MemberCollection Class 22:

GetInstanceByName

Gets the name of the instance by. (Inherited from InstanceCollection.T..)

MemberCollection Class 23:

GetType

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

MemberCollection Class 24:

IndexOf

Determines the index of the specified IInstance. (Inherited from InstanceCollection.T..)

MemberCollection Class 25:

Insert

Inserts the specified IInstance at the specified index. (Inherited from InstanceCollection.T..)

MemberCollection Class 26:

MemberwiseClone

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

MemberCollection Class 27:

Remove

Removes the specified item. (Inherited from InstanceCollection.T..)

MemberCollection Class 28:

RemoveAt

Removes the IInstance at the specified index. (Inherited from InstanceCollection.T..)

MemberCollection Class 29:

ToString

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

MemberCollection Class 30:

TryGetInstance

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

MemberCollection Class 31:

TryGetInstanceByName

Tries to get Instnaces by name. (Inherited from InstanceCollection.T..)

Fields

 

Name

Description

MemberCollection Class 32:

_list

The _list (Inherited from InstanceCollection.T..)

MemberCollection Class 33:

_pathDict

The _path dictionary (Inherited from InstanceCollection.T..)

MemberCollection Class 34:

mode

The mode this InstanceCollection.T. is working in. (Inherited from InstanceCollection.T..)

Reference

TwinCAT.TypeSystem Namespace