IStructType.HasRpcMethods Property

Gets a value indicating whether this instance has RPC methods (Struct types only)

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 5.0.294+Branch.releases-5.0.Sha.90bb9a1b43b6095934fddca3e72bc0ea15da1c14

Syntax

C#

bool HasRpcMethods { get; }

Property Value

Type: Boolean
true if this instance has RPC methods; otherwise, false.

Remarks

The DataType (Structure) must be marked with the PlcAttribute 'TcRpcEnable' to enable RpcMethods, otherwise RpcMethods are not passed through to the ADS symbolic information.

Reference

IStructType Interface

TwinCAT.TypeSystem Namespace