ReadOnlyRpcMethodCollection.TryGetMethod Method (Int32, IRpcMethod.)

Tries to get the specified method.

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

Syntax

C#

public bool TryGetMethod(
    int vTableIndex,
    out IRpcMethod method
)

VB

Public Function TryGetMethod ( 
    vTableIndex As Integer,
    <OutAttribute> ByRef method As IRpcMethod
) As Boolean

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

ReadOnlyRpcMethodCollection Class

TryGetMethod Overload

TwinCAT.TypeSystem Namespace