ITcAdsRpcInvoke.InvokeRpcMethod Method (String, 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(
    string symbolPath,
    int methodId,
    Object[] parameters
)

VB

Function InvokeRpcMethod ( 
    symbolPath As String,
    methodId As Integer,
    parameters As Object()
) As Object

Parameters

symbolPath

Type: System.String
The symbol path.

methodId

Type: System.Int32
The method identifier.

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