Reference
OpcFileReadMethodNode.FileReadCallback Delegate
Read is used to read a part of the file starting from the current file position.
Reference
OpcFileReadMethodNode.FileReadCallback Delegate
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Read is used to read a part of the file starting from the current file position. The file position is advanced by the number of bytes read.
Syntax
csharp
[CLSCompliant(false)]
public delegate ByteString OpcFileReadMethodNode.FileReadCallback(
uint fileHandle,
int length)vbnet
<CLSCompliant(False)>
Public Delegate Function OpcFileReadMethodNode.FileReadCallback(
fileHandle As UInteger,
length As Integer) As ByteStringParameters
| Name | Type | Description |
|---|---|---|
fileHandle | UInt32 | A file handle indicating the access request and thus indirectly the position inside the file. |
length | Int32 | Defines the length in byte that should be returned in data, starting from the current position of the file handle. If the end of file is reached only all data till the end of the file are returned. If the specified length is longer than the maximum allowed message size of the communication, only those data fitting into the message size are returned. Only positive values are allowed. |
Returns
Contains the returned data of the file.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

