RpcMethod Class

RPC Method Description

Inheritance Hierarchy

SystemObject
  TwinCAT.Ads.TypeSystemRpcMethod

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

Syntax

C#

public class RpcMethod : IRpcMethod

The RpcMethod type exposes the following members.

Constructors

 

Name

Description

RpcMethod(String)

Initializes a new instance of the RpcMethod class.

RpcMethod(String, RpcMethodParameterCollection)

Initializes a new instance of the RpcMethod class.

RpcMethod(String, RpcMethodParameterCollection, IDataType)

Initializes a new instance of the RpcMethod class.

RpcMethod(String, RpcMethodParameterCollection, IDataType, String, ITypeAttributeCollection)

Initializes a new instance of the RpcMethod class.

Properties

 

Name

Description

RpcMethod Class 1:

Attributes

Gets the attributes on the IRpcMethod

RpcMethod Class 2:

Comment

Gets the Method comment.

RpcMethod Class 3:

Declaration

Gets the declaration string of the IRpcMethod

RpcMethod Class 4:

InParameters

Gets the In-Parameters of the IRpcMethod

RpcMethod Class 5:

IsVoid

Gets a value indicating whether this IRpcMethod has no return parameter

RpcMethod Class 6:

Name

Gets the name of the method

RpcMethod Class 7:

OutParameters

Gets the Out-Parameters of the IRpcMethod

RpcMethod Class 8:

Parameters

Gets all parameters (In, Out and ref parameters) of the .

RpcMethod Class 9:

ReturnAlignSize

Gets the size of the biggest element in bytes for Alignment

RpcMethod Class 10:

ReturnType

Gets the return type.

RpcMethod Class 11:

ReturnTypeSize

Gets the Byte size of the return type.

RpcMethod Class 12:

VTableIndex

Gets the V-table index of the method.

Methods

 

Name

Description

RpcMethod Class 13:

Equals

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

RpcMethod 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)

RpcMethod Class 15:

GetHashCode

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

RpcMethod Class 16:

GetType

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

RpcMethod Class 17:

MemberwiseClone

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

RpcMethod Class 18:

ToString

Returns a String that represents this instance.
(Overrides ObjectToString)

Extension Methods

 

Name

Description

AddParameter

Adds a parameter to the RpcMethod
(Defined by FluentRpcMethodExtension)

AddParameter

Adds a parameter to the RpcMethod
(Defined by FluentRpcMethodExtension)

AddParameter

Adds a parameter to the RpcMethod
(Defined by FluentRpcMethodExtension)

IsVoid

Determines whether the specified method has no Return Parameter.
(Defined by RpcMethodExtension)

SetReturnType

Sets the ReturnType of the RpcMethod.
(Defined by FluentRpcMethodExtension)

Reference

TwinCAT.Ads.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026