RpcMethod Constructor (String, RpcMethodParameterCollection, IDataType, String)

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,
    string? comment
)

Parameters

name

Type: System.String
The name.

parameters

Type: TwinCAT.TypeSystem.RpcMethodParameterCollection
The parameters.

returnType

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

comment

Type: System.String
The comment.

Reference

RpcMethod Class

RpcMethod Overload

TwinCAT.Ads.TypeSystem Namespace