ITcAdsRawAnyTryWriteAny(UInt32, Object, Int32) 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 TryWriteAny(
    uint variableHandle,
    Object value,
    int[] args
)

Parameters

variableHandle  UInt32

The variable handle.

value  Object

The value.

args  Int32

The type arguments (AnyType)

Return Value

AdsErrorCode
The ADS Error code

Reference

ITcAdsRawAny Interface TryWriteAny Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026