RpcMethodCollection Class

Collection of RpcMethods.

Inheritance Hierarchy

SystemObject
  TwinCAT.TypeSystemRpcMethodCollection

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

Syntax

C#

public class RpcMethodCollection : IRpcMethodCollection, 
    IList<IRpcMethod>, ICollection<IRpcMethod>, IEnumerable<IRpcMethod>, 
    IEnumerable

The RpcMethodCollection type exposes the following members.

Constructors

 

Name

Description

RpcMethodCollection

Initializes a new instance of the RpcMethodCollection class.

RpcMethodCollection(IEnumerableIRpcMethod)

Initializes a new instance of the RpcMethodCollection class.

Properties

 

Name

Description

RpcMethodCollection Class 1:

Count

Gets the number of elements contained in the ICollectionT.

RpcMethodCollection Class 2:

Empty

Gets the empty collection

RpcMethodCollection Class 3:

IsReadOnly

Gets a value indicating whether the ICollectionT is read-only.

RpcMethodCollection Class 4:

ItemInt32

Gets or sets the element at the specified index.

RpcMethodCollection Class 5:

ItemString

Gets the IRpcMethod with the specified method name.

Methods

 

Name

Description

RpcMethodCollection Class 6:

Add

Adds an item to the ICollectionT.

RpcMethodCollection Class 7:

AddRange

Adds the range of Methods.

RpcMethodCollection Class 8:

AsReadOnly

Gets a read only collection of this RpcMethodCollection

RpcMethodCollection Class 9:

Clear

Removes all items from the ICollectionT.

RpcMethodCollection Class 10:

Contains(IRpcMethod)

Determines whether the ICollectionT contains a specific value.

RpcMethodCollection Class 11:

Contains(String)

Determines whether this collection contains the specified method name.

RpcMethodCollection Class 12:

CopyTo

Copies to.

RpcMethodCollection Class 13:

Equals

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

RpcMethodCollection Class 14:

Finalize

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

RpcMethodCollection Class 15:

GetEnumerator

Returns an enumerator that iterates through the collection.

RpcMethodCollection Class 16:

GetHashCode

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

RpcMethodCollection Class 17:

GetType

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

RpcMethodCollection Class 18:

IndexOf

Determines the index of a specific item in the IListT.

RpcMethodCollection Class 19:

Insert

Inserts an item to the IListT at the specified index.

RpcMethodCollection Class 20:

MemberwiseClone

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

RpcMethodCollection Class 21:

Remove

Removes the first occurrence of a specific object from the ICollectionT.

RpcMethodCollection Class 22:

RemoveAt

Removes the IListT item at the specified index.

RpcMethodCollection Class 23:

ToString

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

RpcMethodCollection Class 24:

TryGetMethod(Int32, IRpcMethod)

Tries to get the specified method.

RpcMethodCollection Class 25:

TryGetMethod(String, IRpcMethod)

Tries to get the specified method.

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026