IAdsSymbolicAccess.TryReadValue.T. Method (String, T.)
Reads the value of a symbol and returns the value as object.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
AdsErrorCode TryReadValue<T>(
string symbolPath,
out T value
)
Parameters
symbolPath |
Type: System.String |
value |
Type: T. |
Type Parameters
T |
The value type. |
Remarks
The parameter type must have the same binary layout as the ADS symbol.