Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

RpcStructType.HasRpcMethods Property

Gets a value indicating whether this instance has RPC Methods.

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

Syntax

C#

public override bool HasRpcMethods { get; }

VB

Public Overrides ReadOnly Property HasRpcMethods As Boolean
    Get

Property Value

Type: Boolean
true if this instance has 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.