Skip to content

Reference

OpcNodeIdFactory Members

Provides an abstract base class which defines mechanisms to create new OpcNodeId instances.

Reference

OpcNodeIdFactory Members ​

Type
OpcNodeIdFactory
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Constructors ​

OpcNodeIdFactory ​

protected

Initializes a new instance of the OpcNodeIdFactory class.

csharp
protected OpcNodeIdFactory()
vbnet
Protected Sub New()

Methods ​

Create ​

3 overloads

OverloadDescription
Create(OpcContext)abstractWhen implemented in a derived class, creates a new OpcNodeId just using the context specified.
Create(OpcContext, OpcNamespace)virtualCreates a new OpcNodeId using the context and nodeNamespace specified.
Create(OpcContext, OpcNamespace, IOpcNodeInfo)virtualCreates a new OpcNodeId using the context, nodeNamespace and node for that the node identifier is used.

Create(OpcContext) ​

abstract

When implemented in a derived class, creates a new OpcNodeId just using the context specified.

csharp
public abstract OpcNodeId Create(OpcContext context)
vbnet
Public MustOverride Function Create(context As OpcContext) As OpcNodeId

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use to generate the new OpcNodeId.

Returns

OpcNodeId

A new instance of the OpcNodeId class. Although there is by definition a new instance created there is no guarantee that the node identifier is unique. The uniqueness of the identifier depends on the concrete implementation of this method.

Create(OpcContext, OpcNamespace) ​

virtual

Creates a new OpcNodeId using the context and nodeNamespace specified.

csharp
public virtual OpcNodeId Create(OpcContext context, OpcNamespace nodeNamespace)
vbnet
Public Overridable Function Create(
    context As OpcContext,
    nodeNamespace As OpcNamespace) As OpcNodeId

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use to generate the new OpcNodeId.
nodeNamespaceOpcNamespaceThe OpcNamespace to that the new OpcNodeId have to refer to. If a null reference (Nothing in Visual Basic) is specified Default is used.

Returns

OpcNodeId

A new instance of the OpcNodeId class. For more details how the node identifier is determined see Create. In general the mechanism of defining a node identifier depends on the concrete implementation of this method.

Create(OpcContext, OpcNamespace, IOpcNodeInfo) ​

virtual

Creates a new OpcNodeId using the context, nodeNamespace and node for that the node identifier is used.

csharp
public virtual OpcNodeId Create(
    OpcContext context,
    OpcNamespace nodeNamespace,
    IOpcNodeInfo node)
vbnet
Public Overridable Function Create(
    context As OpcContext,
    nodeNamespace As OpcNamespace,
    node As IOpcNodeInfo) As OpcNodeId

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use to generate the new OpcNodeId.
nodeNamespaceOpcNamespaceThe OpcNamespace to that the new OpcNodeId have to refer to. If a null reference (Nothing in Visual Basic) is specified Default is used.
nodeIOpcNodeInfoAn instance implementing the IOpcNodeInfo interface which represents a preview of the node for which the new node identifier is used.

Returns

OpcNodeId

A new instance of the OpcNodeId class. For more details how the node identifier is determined see Create. In general the mechanism of defining a node identifier depends on the concrete implementation of this method.