ITcAdsRawAnyTryWriteT(UInt32, UInt32, T) Method

Writes an AnyType value.


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

Syntax

C#

AdsErrorCode TryWrite<T>(
    uint indexGroup,
    uint indexOffset,
    T value
)

Parameters

indexGroup  UInt32

The index group.

indexOffset  UInt32

The index offset.

value  T

The value.

Type Parameters

T

The value type.

Return Value

AdsErrorCode
The ADS Error Code.

Reference

ITcAdsRawAny Interface TryWrite Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026