RpcMethod Constructor (String, RpcMethodParameterCollection, IDataType)

Initializes a new instance of the RpcMethod class.

Namespace:  TwinCAT.Ads.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public RpcMethod(
    string name,
    RpcMethodParameterCollection? parameters,
    IDataType? returnType
)

Parameters

name

Type: System.String
The name.

parameters

Type: TwinCAT.TypeSystem.RpcMethodParameterCollection
The parameters.

returnType

Type: TwinCAT.TypeSystem.IDataType
Type of the return.

Reference

RpcMethod Class

RpcMethod Overload

TwinCAT.Ads.TypeSystem Namespace