Reference
OpcFileNode Class
Defines a file node.
Reference
OpcFileNode Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcFileNode Members
Defines a file node.
Syntax
csharp
[OpcNodeType(11575)]
public class OpcFileNode : OpcObjectNodevbnet
<OpcNodeType(11575)>
Public Class OpcFileNode
Inherits OpcObjectNodeInheritance
Object → OpcNode → OpcInstanceNode → OpcObjectNode → OpcFileNode
Implements
Remarks
The file node uses the type definition FileType.
Constructors
| Name | Description |
|---|---|
| OpcFileNode | Initializes a new instance of the OpcFileNode class using the content as the instance to wrap. |
Properties
| Name | Description |
|---|---|
| CanUserWrite | Gets or sets a value indicating whether by default a user can access the file represented for writing taking user access rights into account. |
| CanUserWriteNode | Gets the OpcPropertyNode< |
| CanWrite | Gets or sets a value indicating whether the file is writable. |
| CanWriteNode | Gets the OpcPropertyNode< |
| CloseNode | Gets the Opc |
| Default | Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created. |
| File | Gets the IOpcFileInfo used to access the file represented. |
| FileInfo | Gets the FileInfo of the file represented. |
| GetPositionNode | Gets the Opc |
| MimeType | Gets the media type of the file. |
| MimeTypeNode | Gets the OpcPropertyNode< |
| OpenCount | Gets the number of currently valid file handles on the file. |
| OpenCountNode | Gets the OpcPropertyNode< |
| OpenNode | Gets the Opc |
| ReadNode | Gets the Opc |
| SetPositionNode | Gets the Opc |
| Size | Gets the size of the file in bytes. |
| SizeNode | Gets the OpcPropertyNode< |
| WriteNode | Gets the Opc |
Methods
| Name | Description |
|---|---|
| Close | Closes the file represented. |
| GetPosition | GetPosition is used to provide the current position of the file handle. |
| Initialize | Initializes the default values used by the OpcFileNode. |
| Open | Opens the file represented. |
| Read | Read is used to read a part of the file starting from the current file position. |
| ReadCanUserWrite | Reads the value of the CanUserWrite property. |
| ReadCanWrite | Reads the value of the CanWrite property. |
| SetPosition | SetPosition is used to set the current position of the file handle. |
| Write | Write is used to write a part of the file starting from the current file position. |
Inherits members from OpcObjectNode, OpcInstanceNode, OpcNode.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

