RpcMethodCollectionTryGetMethod(String, IRpcMethod) Method

Tries to get the specified method.


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public bool TryGetMethod(
    string methodName,
    out IRpcMethod?? method
)

Parameters

methodName  String

Name of the method.

method  IRpcMethod

The method if fund, NULL otherwise.

Return Value

Boolean
true if found, false otherwise.

Implements

IRpcMethodCollectionTryGetMethod(String, IRpcMethod)

Reference

RpcMethodCollection Class TryGetMethod Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026