MemberCollection Methods

The MemberCollection type exposes the following members.

Methods

 

Name

Description

MemberCollection Methods 1:

Add

Adds the specified item.
(Overrides InstanceCollectionTAdd(T))

MemberCollection Methods 2:

AddRange

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

MemberCollection Methods 3:

AsReadOnly

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

MemberCollection Methods 4:

CalcSize

Calculates the Byte Size of the IMemberCollection

MemberCollection Methods 5:

Clear

Clears this instance.
(Inherited from InstanceCollectionT)

MemberCollection Methods 6:

Clone

Clones this MemberCollection.

MemberCollection Methods 7:

Contains(T)

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

MemberCollection Methods 8:

Contains(String)

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

MemberCollection Methods 9:

ContainsName

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

MemberCollection Methods 10:

CopyTo

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

MemberCollection Methods 11:

Equals

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

MemberCollection Methods 12:

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 Methods 13:

GetEnumerator

Gets the enumerator.
(Inherited from InstanceCollectionT)

MemberCollection Methods 14:

GetHashCode

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

MemberCollection Methods 15:

GetInstance

Gets the IInstanceby instance path.
(Inherited from InstanceCollectionT)

MemberCollection Methods 16:

GetInstanceByName

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

MemberCollection Methods 17:

GetType

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

MemberCollection Methods 18:

IndexOf

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

MemberCollection Methods 19:

Insert

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

MemberCollection Methods 20:

MemberwiseClone

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

MemberCollection Methods 21:

Remove

Removes the specified item.
(Inherited from InstanceCollectionT)

MemberCollection Methods 22:

RemoveAt

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

MemberCollection Methods 23:

ToString

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

MemberCollection Methods 24:

TryGetInstance

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

MemberCollection Methods 25:

TryGetInstanceByName

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

MemberCollection Methods 26:

TryGetMember

Tries to get the specified member

Reference

MemberCollection Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026