RpcMethod Class

RPC Method Description

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.TypeSystem.RpcMethod
Namespace:  TwinCAT.Ads.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.116+a71ced3

Syntax

C#

public class RpcMethod : IRpcMethod

The RpcMethod type exposes the following members.

Constructors

 

Name

Description

RpcMethod Class 1:

RpcMethod(String)

Initializes a new instance of the RpcMethod class.

RpcMethod Class 2:

RpcMethod(String, RpcMethodParameterCollection)

Initializes a new instance of the RpcMethod class.

RpcMethod Class 3:

RpcMethod(String, RpcMethodParameterCollection, IDataType)

Initializes a new instance of the RpcMethod class.

RpcMethod Class 4:

RpcMethod(String, RpcMethodParameterCollection, IDataType, String)

Initializes a new instance of the RpcMethod class.

Properties

 

Name

Description

RpcMethod Class 5:

Comment

Gets the Method comment.

RpcMethod Class 6:

InParameters

Gets the In-Parameters of the IRpcMethod

RpcMethod Class 7:

IsVoid

Gets a value indicating whether this IRpcMethod has no return parameter

RpcMethod Class 8:

Name

Gets the name of the method

RpcMethod Class 9:

OutParameters

Gets the Out-Parameters of the IRpcMethod

RpcMethod Class 10:

Parameters

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

RpcMethod Class 11:

ReturnAlignSize

Gets the size of the biggest element in bytes for Alignment

RpcMethod Class 12:

ReturnType

Gets the return type.

RpcMethod Class 13:

ReturnTypeSize

Gets the Byte size of the return type.

RpcMethod Class 14:

VTableIndex

Gets the V-table index of the method.

Methods

 

Name

Description

RpcMethod Class 15:

Equals

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

RpcMethod Class 16:

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 17:

GetHashCode

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

RpcMethod Class 18:

GetType

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

RpcMethod Class 19:

MemberwiseClone

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

RpcMethod Class 20:

ToString

Returns a String that represents this instance. (Overrides Object.ToString..)

Extension Methods

 

Name

Description

RpcMethod Class 21:

AddParameter(IRpcMethodParameter)

Overloaded.

Adds a parameter to the RpcMethod (Defined by FluentRpcMethodExtension.)

RpcMethod Class 22:

AddParameter(String, IDataType, MethodParamFlags)

Overloaded.

Adds a parameter to the RpcMethod (Defined by FluentRpcMethodExtension.)

RpcMethod Class 23:

AddParameter(String, IDataType, MethodParamFlags, Int32)

Overloaded.

Adds a parameter to the RpcMethod (Defined by FluentRpcMethodExtension.)

RpcMethod Class 24:

SetReturnType

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

Reference

TwinCAT.Ads.TypeSystem Namespace