StructType.HasRpcMethods Property

Gets a value indicating whether this StructType has RPC Methods.

Namespace:  TwinCAT.Ads.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public virtual bool HasRpcMethods { get; }

VB

Public Overridable ReadOnly Property HasRpcMethods As Boolean
    Get

Property Value

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

Implements

IStructType.HasRpcMethods

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

StructType Class

TwinCAT.Ads.TypeSystem Namespace