IRpcMethodCollection.TryGetMethod Method (Int32, IRpcMethod.)

Tries to get the specified method.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

bool TryGetMethod(
    int vTableIndex,
    out IRpcMethod?? method
)

Parameters

vTableIndex

Type: System.Int32
vTableIndex.

method

Type: TwinCAT.TypeSystem.IRpcMethod.
The method if fund, NULL otherwise.

Return Value

Type: Boolean
true if found, false otherwise.

Reference

IRpcMethodCollection Interface

TryGetMethod Overload

TwinCAT.TypeSystem Namespace