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.328+39e3229

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)

Initializes a new instance of the RpcMethod class.

Properties

 

Name

Description

RpcMethod Class 1:

Comment

Gets the Method comment.

RpcMethod Class 2:

InParameters

Gets the In-Parameters of the IRpcMethod

RpcMethod Class 3:

IsVoid

Gets a value indicating whether this IRpcMethod has no return parameter

RpcMethod Class 4:

Name

Gets the name of the method

RpcMethod Class 5:

OutParameters

Gets the Out-Parameters of the IRpcMethod

RpcMethod Class 6:

Parameters

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

RpcMethod Class 7:

ReturnAlignSize

Gets the size of the biggest element in bytes for Alignment

RpcMethod Class 8:

ReturnType

Gets the return type.

RpcMethod Class 9:

ReturnTypeSize

Gets the Byte size of the return type.

RpcMethod Class 10:

VTableIndex

Gets the V-table index of the method.

Methods

 

Name

Description

RpcMethod Class 11:

Equals

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

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

RpcMethod Class 13:

GetHashCode

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

RpcMethod Class 14:

GetType

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

RpcMethod Class 15:

MemberwiseClone

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

RpcMethod Class 16:

ToString

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

Extension Methods

 

Name

Description

AddParameter(IRpcMethodParameter)

Overloaded.

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

AddParameter(String, IDataType, MethodParamFlags)

Overloaded.

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

AddParameter(String, IDataType, MethodParamFlags, Int32)

Overloaded.

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

SetReturnType

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

Reference

TwinCAT.Ads.TypeSystem Namespace