IRpcMethodCollection Interface

Interface for RPC Method collections.


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

Syntax

C#

public interface IRpcMethodCollection : IList<IRpcMethod>, 
    ICollection<IRpcMethod>, IEnumerable<IRpcMethod>, IEnumerable

The IRpcMethodCollection type exposes the following members.

Properties

 

Name

Description

IRpcMethodCollection Interface 1:

Count

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

IRpcMethodCollection Interface 2:

IsReadOnly

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

IRpcMethodCollection Interface 3:

ItemInt32

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

IRpcMethodCollection Interface 4:

ItemString

Gets the IRpcMethod with the specified method name.

Methods

 

Name

Description

IRpcMethodCollection Interface 5:

Add

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

IRpcMethodCollection Interface 6:

Clear

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

IRpcMethodCollection Interface 7:

Contains(T)

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

IRpcMethodCollection Interface 8:

Contains(String)

Determines whether this collection contains the specified method name.

IRpcMethodCollection Interface 9:

CopyTo

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

IRpcMethodCollection Interface 10:

GetEnumerator

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

IRpcMethodCollection Interface 11:

IndexOf

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

IRpcMethodCollection Interface 12:

Insert

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

IRpcMethodCollection Interface 13:

Remove

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

IRpcMethodCollection Interface 14:

RemoveAt

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

IRpcMethodCollection Interface 15:

TryGetMethod(Int32, IRpcMethod)

Tries to get the specified method.

IRpcMethodCollection Interface 16:

TryGetMethod(String, IRpcMethod)

Tries to get the specified method.

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026