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