Reference
OpcAddressSpace Members
Represents the address space which the callback of an OpcServer (e.g. OpcServer) receives to create the nodes of the server.
Reference
OpcAddressSpace Members
- Type
- OpcAddressSpace
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Properties
DefaultNamespace
Gets the default namespace of the Manager.
public OpcNamespace DefaultNamespace { get; }Public ReadOnly Property DefaultNamespace As OpcNamespaceProperty value
The DefaultNamespace of the Manager.
DefaultNamespaceIndex
Gets the index of the default namespace of the Manager.
public int DefaultNamespaceIndex { get; }Public ReadOnly Property DefaultNamespaceIndex As IntegerProperty value
The DefaultNamespaceIndex of the Manager.
DefaultNamespaceUri
Gets the URI of the default namespace of the Manager.
public Uri DefaultNamespaceUri { get; }Public ReadOnly Property DefaultNamespaceUri As UriProperty value
The DefaultNamespaceUri of the Manager.
Manager
Gets the node manager which creates the nodes of the address space.
public OpcNodeManager Manager { get; }Public ReadOnly Property Manager As OpcNodeManagerProperty value
The OpcNodeManager which adds the Nodes to the server.
Namespaces
Gets the namespaces maintained by the Manager.
public OpcReadOnlyNamespaceCollection Namespaces { get; }Public ReadOnly Property Namespaces As OpcReadOnlyNamespaceCollectionProperty value
OpcReadOnlyNamespaceCollection
The Namespaces of the Manager.
Nodes
Gets the nodes to add to the address space.
public OpcNodeCollection Nodes { get; }Public ReadOnly Property Nodes As OpcNodeCollectionProperty value
An OpcNodeCollection which initially contains the Nodes of the Manager.
References
Gets the references of the nodes to their parent nodes.
public OpcNodeReferenceCollection References { get; }Public ReadOnly Property References As OpcNodeReferenceCollectionProperty value
The OpcNodeReferenceCollection which the server uses to link the Nodes into its address space.
Methods
AddNode
| Overload | Description |
|---|---|
| AddNode( | Adds the node specified to the address space below the 'Objects' folder ( |
| AddNode( | Adds the node specified to the address space below the parent node with the parentNodeId specified. |
AddNode(IOpcNode)
Adds the node specified to the address space below the 'Objects' folder (see ObjectsFolder).
public void AddNode(IOpcNode node)Public Sub AddNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
Remarks
A node which is already part of the Nodes is not added again.
AddNode(IOpcNode, OpcNodeId)
Adds the node specified to the address space below the parent node with the parentNodeId specified.
public void AddNode(IOpcNode node, OpcNodeId parentNodeId)Public Sub AddNode(node As IOpcNode, parentNodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to add. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node or parentNodeId is a null reference ( |
Remarks
A node which is already part of the Nodes is not added again. A type node is added without a reference to the parent node. If AssignDefaultNamespaceOfManager is true, a node without namespace information is linked to the DefaultNamespace.
RemoveNode
Removes the node specified and its reference to the parent node from the address space.
public void RemoveNode(IOpcNode node)Public Sub RemoveNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode to remove. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |

