AdsConnection.ReadAnyString Method (UInt32, UInt32, Int32, Encoding)
Reads the string
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public string ReadAnyString(
uint indexGroup,
uint indexOffset,
int len,
Encoding encoding
)
VB
Public Function ReadAnyString (
indexGroup As UInteger,
indexOffset As UInteger,
len As Integer,
encoding As Encoding
) As String
Parameters
indexGroup |
Type: System.UInt32 |
indexOffset |
Type: System.UInt32 |
len |
Type: System.Int32 |
encoding |
Type: System.Text.Encoding |
Return Value
Type: String
System.String.
Exceptions
Exception |
Condition |
---|---|
Remarks
ASCII Encoding expected