AdsClientTryReadAnyString Method

Tries the read any string.


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

Syntax

C#

public AdsErrorCode TryReadAnyString(
    string instancePath,
    int len,
    Encoding? encoding,
    out string value
)

Parameters

instancePath  String

The instance path.

len  Int32

The length.

encoding  Encoding

The encoding.

value  String

The value.

Return Value

AdsErrorCode
AdsErrorCode.

Exceptions

Exception

Condition

ObjectDisposedException

ClientNotConnectedException

Reference

AdsClient Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026