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

Initializes a new instance of the RpcMethod class.


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

Syntax

C#

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

Parameters

name  String

The name.

parameters  RpcMethodParameterCollection

The parameters.

returnType  IDataType

Type of the return.

comment  String

The comment.

attributes  ITypeAttributeCollection

The attributes.

Reference

RpcMethod Class RpcMethod Overload TwinCAT.Ads.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026