Reference
OpcFile Class
Provides static (Shared in Visual Basic) methods for opening of a single file and aids in the creation of OpcFileStream objects.
Reference
OpcFile Class
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcFile Members
- Also in
- Opc.UaFx.Client
Provides static (Shared in Visual Basic) methods for opening of a single file and aids in the creation of OpcFileStream objects.
Syntax
csharp
public static class OpcFilevbnet
Public Module OpcFileInheritance
Object → OpcFile
Methods
| Name | Description |
|---|---|
| AppendAllLines | Appends lines to a file maintained by the file node specified by fileNodeId and then closes the file. |
| AppendAllText | Appends the specified string to the file maintained by the file node specified by fileNodeId and then closes the file. |
| AppendText | Creates a StreamWriter that appends UTF8 encoded text to the file maintained by the file node specified by fileNodeId. |
| Open | Opens a file in the specified mode. |
| OpenRead | Creates a read-only OpcFileStream. |
| OpenText | Creates a StreamReader with UTF8 encoding. |
| OpenWrite | Creates a write-only OpcFileStream. |
| ReadAllBytes | Opens a binary file node, reads the contents of the file node into a byte array, and then closes the file node. |
| ReadAllLines | Opens a text file node, reads all lines of the file maintained by the file node, and then closes the file node. |
| ReadAllText | Opens a file node, reads all lines of the file maintained by the file node, and then closes the file node. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

