IAdsSymbolicAccess.WriteValueAsync.T. Method (String, T, CancellationToken)
Writes the passed object value to the specified ADS symbol.The parameter type must have the same binary layout as the ADS symbol.
          Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
Task<ResultWrite> WriteValueAsync<T>(
string symbolPath,
T value,
CancellationToken cancel
)
Parameters
| symbolPath | Type: System.String | 
| value | Type: T | 
| cancel | Type: System.Threading.CancellationToken | 
Type Parameters
| T | The value type. | 
Return Value
Type: Task.ResultWrite.
A task that represents the asynchronous 'WriteSymbol'
operation. The ResultWrite
parameter contains the ErrorCode after
execution.