Reference
OpcNominalNodeIdFactory Members
Provides a generic factory for OpcNodeId instances which generates general unique node identifiers using Create / Create or node dependent unique node identifiers using Create.
Reference
OpcNominalNodeIdFactory Members
- Type
- OpcNominalNodeIdFactory
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcNominalNodeIdFactory
Initializes a new instance of the OpcNominalNodeIdFactory class.
public OpcNominalNodeIdFactory()Public Sub New()Properties
Separator
Gets or sets the separator used to separate parent-child related node identifiers from each other.
public char Separator { get; set; }Public Property Separator As CharProperty value
The character used to separate node identifiers from each other. The default value of this property is DefaultSeparator.
Methods
Create
| Overload | Description |
|---|---|
| Create( | Creates a new OpcNodeId just using the context specified. |
| Create( | Creates a new OpcNodeId using the context and nodeNamespace specified. |
| Create( | Creates a new OpcNodeId using the context and the node for that the node identifier is used. |
| Create( | Creates a new OpcNodeId using the context, node and nodeName specified. |
Create(OpcContext)
Creates a new OpcNodeId just using the context specified.
public override OpcNodeId Create(OpcContext context)Public Overrides Function Create(context As OpcContext) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to generate the new OpcNodeId. |
Returns
A new instance of the OpcNodeId class which defines an unique Guid node identifier within the Default namespace.
Overrides
Create(OpcContext, OpcNamespace)
Creates a new OpcNodeId using the context and nodeNamespace specified.
public override OpcNodeId Create(OpcContext context, OpcNamespace nodeNamespace)Public Overrides Function Create(
context As OpcContext,
nodeNamespace As OpcNamespace) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to generate the new OpcNodeId. |
nodeNamespace | OpcNamespace | The OpcNamespace to that the new OpcNodeId have to refer to. If a null reference ( |
Returns
A new instance of the OpcNodeId class which defines an unique Guid node identifier within the nodeNamespace specified.
Overrides
Create(OpcContext, OpcNamespace, IOpcNodeInfo)
Creates a new OpcNodeId using the context and the node for that the node identifier is used.
public override OpcNodeId Create(
OpcContext context,
OpcNamespace nodeNamespace,
IOpcNodeInfo node)Public Overrides Function Create(
context As OpcContext,
nodeNamespace As OpcNamespace,
node As IOpcNodeInfo) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to generate the new OpcNodeId. |
nodeNamespace | OpcNamespace | The OpcNamespace to that the new OpcNodeId have to refer to. If a null reference ( |
node | IOpcNodeInfo | An instance implementing the IOpcNodeInfo interface which represents a preview of the node for which the new node identifier is used. |
Returns
A new instance of the OpcNodeId class either using only the Name or additionally the Parent of the node specified. In the last case the parent-child related node identifier is constructed using the Id of the parent thereby the child and parent parts are separated by the Separator. In case there node defines is a null reference (Nothing in Visual Basic) a null reference (Nothing in Visual Basic) is returned. In case there Name of node is a null reference (Nothing in Visual Basic) or it is a null-name (see IsNull) the original node identifier is returned.
Overrides
Remarks
Only in case there the nodeNamespace differs from the namespace used by the Name of the node specified and if it is not a default namespace (see IsDefault), then the nodeNamespace specified is used; otherwise the namespace used by the Name.
Create(OpcContext, OpcNamespace, IOpcNodeInfo, OpcName)
Creates a new OpcNodeId using the context, node and nodeName specified.
protected virtual OpcNodeId Create(
OpcContext context,
OpcNamespace nodeNamespace,
IOpcNodeInfo node,
OpcName nodeName)Protected Overridable Function Create(
context As OpcContext,
nodeNamespace As OpcNamespace,
node As IOpcNodeInfo,
nodeName As OpcName) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to generate the new OpcNodeId. |
nodeNamespace | OpcNamespace | The OpcNamespace to that the new OpcNodeId have to refer to. If a null reference ( |
node | IOpcNodeInfo | An instance implementing the IOpcNodeInfo interface which represents a preview of the node for which the new node identifier is used. |
nodeName | OpcName | The alternative OpcName to use instead of the Name of the supplied node or a null reference ( |
Returns
A new instance of the OpcNodeId class either using only the nodeName or Name or additionally the Parent of the node specified. In the last case the parent-child related node identifier is constructed using the Id of the parent thereby the child and parent parts are separated by the Separator. In case there node defined is a null reference (Nothing in Visual Basic) a null reference (Nothing in Visual Basic) is returned. In case there nodeName or Name of node is a null reference (Nothing in Visual Basic) or it is a null-name (see IsNull) the original node identifier is returned.
Remarks
Only in case there the nodeNamespace differs from the namespace used by the nodeName or Name of the node specified and if it is not a default namespace (see IsDefault), then the nodeNamespace specified is used; otherwise the namespace used by the nodeName or Name.

