IRpcMethodCollectionTryGetMethod(String, IRpcMethod) Method

Tries to get the specified method.


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

Syntax

C#

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.

Reference

IRpcMethodCollection Interface TryGetMethod Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026