Skip to content

Reference

OpcObjectNode Members

Defines a logical unit to represent more complex information as a OpcVariableNode.

Reference

OpcObjectNode Members ​

Type
OpcObjectNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from OpcInstanceNode, OpcNode.

Constructors ​

OpcObjectNode ​

18 overloads

OverloadDescription
OpcObjectNode(OpcName)Initializes a new instance of the OpcObjectNode class accessible by the name specified.
OpcObjectNode(OpcName, params OpcInstanceNode[])Initializes a new instance of the OpcObjectNode class accessible by the name and with the initial child nodes specified by children.
OpcObjectNode(OpcName, OpcNodeId)Initializes a new instance of the OpcObjectNode class accessible by the name and id specified.
OpcObjectNode(OpcName, OpcNodeId, params OpcInstanceNode[])Initializes a new instance of the OpcObjectNode class accessible by the name, id and with the initial child nodes specified by children.
OpcObjectNode(IOpcNode, OpcName)Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given.
OpcObjectNode(IOpcNode, OpcName, params OpcInstanceNode[])Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given and with the initial child nodes specified by children.
OpcObjectNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcObjectNode class accessible by the name and id specified as a child node of the parent node given.
OpcObjectNode(IOpcNode, OpcName, OpcNodeId, params OpcInstanceNode[])Initializes a new instance of the OpcObjectNode class accessible by the name, id specified as a child node of the parent node given and with the initial child nodes specified by children.
OpcObjectNode(BaseObjectState)protected · since v2.50Initializes a new instance of the OpcObjectNode class using the content as the instance to wrap.
OpcObjectNode(BaseObjectState, OpcNodeModel)protected · since v2.50Initializes a new instance of the OpcObjectNode class using the content as the instance to wrap.
OpcObjectNode(OpcNodeModel, OpcName)protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name specified.
OpcObjectNode(OpcNodeModel, OpcName, params OpcInstanceNode[])protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name and with the initial child nodes specified by children.
OpcObjectNode(OpcNodeModel, OpcName, OpcNodeId)protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name and id specified.
OpcObjectNode(OpcNodeModel, OpcName, OpcNodeId, params OpcInstanceNode[])protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name, id and with the initial child nodes specified by children.
OpcObjectNode(OpcNodeModel, IOpcNode, OpcName)protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given.
OpcObjectNode(OpcNodeModel, IOpcNode, OpcName, params OpcInstanceNode[])protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given and with the initial child nodes specified by children.
OpcObjectNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name and id specified as a child node of the parent node given.
OpcObjectNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, params OpcInstanceNode[])protected · since v2.50Initializes a new instance of the OpcObjectNode class accessible by the name, id specified as a child node of the parent node given and with the initial child nodes specified by children.

OpcObjectNode(OpcName) ​

Initializes a new instance of the OpcObjectNode class accessible by the name specified.

csharp
public OpcObjectNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object node can be accessed.

OpcObjectNode(OpcName, params OpcInstanceNode[]) ​

Initializes a new instance of the OpcObjectNode class accessible by the name and with the initial child nodes specified by children.

csharp
public OpcObjectNode(OpcName name, params OpcInstanceNode[] children)
vbnet
Public Sub New(name As OpcName, ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object node can be accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(OpcName, OpcNodeId) ​

Initializes a new instance of the OpcObjectNode class accessible by the name and id specified.

csharp
public OpcObjectNode(OpcName name, OpcNodeId id)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.

OpcObjectNode(OpcName, OpcNodeId, params OpcInstanceNode[]) ​

Initializes a new instance of the OpcObjectNode class accessible by the name, id and with the initial child nodes specified by children.

csharp
public OpcObjectNode(
    OpcName name,
    OpcNodeId id,
    params OpcInstanceNode[] children)
vbnet
Public Sub New(
    name As OpcName,
    id As OpcNodeId,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(IOpcNode, OpcName) ​

Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given.

csharp
public OpcObjectNode(IOpcNode parent, OpcName name)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.

OpcObjectNode(IOpcNode, OpcName, params OpcInstanceNode[]) ​

Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given and with the initial child nodes specified by children.

csharp
public OpcObjectNode(
    IOpcNode parent,
    OpcName name,
    params OpcInstanceNode[] children)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(IOpcNode, OpcName, OpcNodeId) ​

Initializes a new instance of the OpcObjectNode class accessible by the name and id specified as a child node of the parent node given.

csharp
public OpcObjectNode(IOpcNode parent, OpcName name, OpcNodeId id)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.

OpcObjectNode(IOpcNode, OpcName, OpcNodeId, params OpcInstanceNode[]) ​

Initializes a new instance of the OpcObjectNode class accessible by the name, id specified as a child node of the parent node given and with the initial child nodes specified by children.

csharp
public OpcObjectNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    params OpcInstanceNode[] children)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(BaseObjectState) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class using the content as the instance to wrap.

csharp
protected OpcObjectNode(BaseObjectState content)
vbnet
Protected Sub New(content As BaseObjectState)

Parameters

NameTypeDescription
contentBaseObjectStateThe BaseObjectState to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcObjectNode(BaseObjectState, OpcNodeModel) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class using the content as the instance to wrap.

csharp
protected OpcObjectNode(BaseObjectState content, OpcNodeModel model)
vbnet
Protected Sub New(content As BaseObjectState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentBaseObjectStateThe BaseObjectState to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcObjectNode(OpcNodeModel, OpcName) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name specified.

csharp
protected OpcObjectNode(OpcNodeModel model, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new object node can be accessed.

OpcObjectNode(OpcNodeModel, OpcName, params OpcInstanceNode[]) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name and with the initial child nodes specified by children.

csharp
protected OpcObjectNode(
    OpcNodeModel model,
    OpcName name,
    params OpcInstanceNode[] children)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new object node can be accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name and id specified.

csharp
protected OpcObjectNode(OpcNodeModel model, OpcName name, OpcNodeId id)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.

OpcObjectNode(OpcNodeModel, OpcName, OpcNodeId, params OpcInstanceNode[]) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name, id and with the initial child nodes specified by children.

csharp
protected OpcObjectNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id,
    params OpcInstanceNode[] children)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(OpcNodeModel, IOpcNode, OpcName) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given.

csharp
protected OpcObjectNode(OpcNodeModel model, IOpcNode parent, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.

OpcObjectNode(OpcNodeModel, IOpcNode, OpcName, params OpcInstanceNode[]) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name specified as a child node of the parent node given and with the initial child nodes specified by children.

csharp
protected OpcObjectNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    params OpcInstanceNode[] children)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

OpcObjectNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name and id specified as a child node of the parent node given.

csharp
protected OpcObjectNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.

OpcObjectNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, params OpcInstanceNode[]) ​

protected · since v2.50

Initializes a new instance of the OpcObjectNode class accessible by the name, id specified as a child node of the parent node given and with the initial child nodes specified by children.

csharp
protected OpcObjectNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    params OpcInstanceNode[] children)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    ParamArray children As OpcInstanceNode())

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new object node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new object node can be identified and accessed.
childrenparams OpcInstanceNode[]The initial child nodes of the node.

Properties ​

DefaultReferenceTypeId ​

protected · override

Gets the default identifier which identifies the type that defines the underlying node reference within this OpcInstanceNode is referenced by its parent node.

csharp
protected override OpcNodeId DefaultReferenceTypeId { get; }
vbnet
Protected Overrides ReadOnly Property DefaultReferenceTypeId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the reference wihin this OpcInstanceNode is referenced. These reference defines the typical behaviour of an instance node and its role in the address space regarding its parent. If there exists no specific reference type a null reference (Nothing in Visual Basic).

Overrides

DefaultReferenceTypeId

DefaultTypeDefinitionId ​

protected · override

Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.

csharp
protected override OpcNodeId DefaultTypeDefinitionId { get; }
vbnet
Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the type node from that this OpcInstanceNode has been created from. These type node defines the typical structure of an instance node of its type definition. If there exists no specific type definition node a null reference (Nothing in Visual Basic).

Overrides

DefaultTypeDefinitionId

IsHistorizingEvents ​

since v2.54

Gets or sets a value indiciating whether there exists an event history for the node.

csharp
public bool IsHistorizingEvents { get; set; }
vbnet
Public Property IsHistorizingEvents As Boolean

Property value

Boolean

The value true if an event history exists; otherwise the value false. The default value is false.

Methods ​

AddNotifier ​

override

Adds the node to the collection of notifiers (= event sources) of this node.

csharp
public override sealed void AddNotifier(OpcContext context, IOpcNode node)
vbnet
Public NotOverridable Overrides Sub AddNotifier(
    context As OpcContext,
    node As IOpcNode)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use to add the node as the notifying event source.
nodeIOpcNodeThe IOpcNode instance acting as the notifier.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context or node is null reference (Nothing in Visual Basic).

Overrides

AddNotifier

Remarks

If the node is the first notifier being added to the collection of notifiers the EventNotifier attribute of this OpcObjectNode is set to 'SubscribeToEvents'.

RemoveNotifier ​

override

Removes the node from the collection of notifiers (= event sources) of this node.

csharp
public override void RemoveNotifier(OpcContext context, IOpcNode node)
vbnet
Public Overrides Sub RemoveNotifier(context As OpcContext, node As IOpcNode)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use to remove the node as the notifying event source.
nodeIOpcNodeThe IOpcNode instance no longer acting as the notifier.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe context or node is a null reference (Nothing in Visual Basic).

Overrides

RemoveNotifier

Remarks

If the node is the last notifier being removed from the collection of notifiers the EventNotifier attribute of this OpcObjectNode is unset from 'SubscribeToEvents'.