ITcAdsRpcInvoke.InvokeRpcMethod Method (ITcAdsSymbol, Int32, .Object.)

Invokes the specified RPC Method

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

Syntax

C#

Object InvokeRpcMethod(
    ITcAdsSymbol symbol,
    int methodId,
    Object[] parameters
)

VB

Function InvokeRpcMethod ( 
    symbol As ITcAdsSymbol,
    methodId As Integer,
    parameters As Object()
) As Object

Parameters

symbol

Type: TwinCAT.Ads.ITcAdsSymbol
The symbol.

methodId

Type: System.Int32
The method identifier / Virtual Function table index.

parameters

Type: .System.Object.
The parameters.

Return Value

Type: Object
The return value of the Method (as object).

Reference

ITcAdsRpcInvoke Interface

InvokeRpcMethod Overload

TwinCAT.Ads Namespace