AdsClient.TryWriteControl Method (StateInfo, ReadOnlyMemory`1)

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 5.0.294+Branch.releases-5.0.Sha.90bb9a1b43b6095934fddca3e72bc0ea15da1c14

Syntax

C#

public AdsErrorCode TryWriteControl(
    StateInfo stateInfo,
    ReadOnlyMemory writeBuffer
)

Parameters

stateInfo

Type: TwinCAT.Ads.StateInfo

writeBuffer

Type: ReadOnlyMemory

Return Value

Type: AdsErrorCode

Reference

AdsClient Class

TryWriteControl Overload

TwinCAT.Ads Namespace