Skip to content

Reference

OpcDiscreteItemNode Members

Defines an abstract discrete item node.

Reference

OpcDiscreteItemNode Members ​

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

Inherits members from OpcDataItemNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcDiscreteItemNode ​

protected · 14 overloads

OverloadDescription
OpcDiscreteItemNode(OpcNodeModel, OpcName)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name specified.
OpcDiscreteItemNode(OpcNodeModel, OpcName, object)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name specified with the initial value given by value.
OpcDiscreteItemNode(OpcNodeModel, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name and id specified.
OpcDiscreteItemNode(OpcNodeModel, OpcName, OpcNodeId, object)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name and id specified with the initial value given by value.
OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name specified as a child node of the parent node given.
OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName, object)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name and id specified as a child node of the parent node given.
OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object)protectedInitializes a new instance of the OpcDiscreteItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
OpcDiscreteItemNode(DiscreteItemState)protectedInitializes a new instance of the OpcDiscreteItemNode class using the content as the instance to wrap.
OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel)protectedInitializes a new instance of the OpcDiscreteItemNode class using the content as the instance to wrap.
OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, OpcName)protectedInitializes a new instance of the OpcDiscreteItemNode class using the content as the instance to wrap.
OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcDiscreteItemNode class using the content as the instance to wrap.
OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, IOpcNode, OpcName)protectedInitializes a new instance of the OpcDiscreteItemNode class using the content as the instance to wrap.
OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcDiscreteItemNode class using the content as the instance to wrap.

OpcDiscreteItemNode(OpcNodeModel, OpcName) ​

protected

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

csharp
protected OpcDiscreteItemNode(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 discrete item node can be accessed.

OpcDiscreteItemNode(OpcNodeModel, OpcName, object) ​

protected

Initializes a new instance of the OpcDiscreteItemNode class accessible by the name specified with the initial value given by value.

csharp
protected OpcDiscreteItemNode(OpcNodeModel model, OpcName name, object value)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, value As Object)

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 discrete item node can be accessed.
valueObjectThe initial value of the new discrete item node.

OpcDiscreteItemNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected

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

csharp
protected OpcDiscreteItemNode(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 discrete item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new discrete item node can be identified and accessed.

OpcDiscreteItemNode(OpcNodeModel, OpcName, OpcNodeId, object) ​

protected

Initializes a new instance of the OpcDiscreteItemNode class accessible by the name and id specified with the initial value given by value.

csharp
protected OpcDiscreteItemNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

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 discrete item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new discrete item node can be identified and accessed.
valueObjectThe initial value of the new discrete item node.

OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName) ​

protected

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

csharp
protected OpcDiscreteItemNode(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 discrete item node can be accessed.

OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName, object) ​

protected

Initializes a new instance of the OpcDiscreteItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.

csharp
protected OpcDiscreteItemNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    value As Object)

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 discrete item node can be accessed.
valueObjectThe initial value of the new discrete item node.

OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected

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

csharp
protected OpcDiscreteItemNode(
    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 discrete item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new discrete item node can be identified and accessed.

OpcDiscreteItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object) ​

protected

Initializes a new instance of the OpcDiscreteItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

csharp
protected OpcDiscreteItemNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

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 discrete item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new discrete item node can be identified and accessed.
valueObjectThe initial value of the new discrete item node.

OpcDiscreteItemNode(DiscreteItemState) ​

protected

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

csharp
protected OpcDiscreteItemNode(DiscreteItemState content)
vbnet
Protected Sub New(content As DiscreteItemState)

Parameters

NameTypeDescription
contentDiscreteItemStateThe DiscreteItemState to wrap.

Exceptions

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

OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel) ​

protected

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

csharp
protected OpcDiscreteItemNode(DiscreteItemState content, OpcNodeModel model)
vbnet
Protected Sub New(content As DiscreteItemState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentDiscreteItemStateThe DiscreteItemState 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).

OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, OpcName) ​

protected

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

csharp
protected OpcDiscreteItemNode(
    DiscreteItemState content,
    OpcNodeModel model,
    OpcName name)
vbnet
Protected Sub New(
    content As DiscreteItemState,
    model As OpcNodeModel,
    name As OpcName)

Parameters

NameTypeDescription
contentDiscreteItemStateThe DiscreteItemState 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.
nameOpcNameThe OpcName through that the new discrete item node can be accessed.

Exceptions

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

OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, OpcName, OpcNodeId) ​

protected

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

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

Parameters

NameTypeDescription
contentDiscreteItemStateThe DiscreteItemState 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.
nameOpcNameThe OpcName through that the new discrete item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new discrete item node can be identified and accessed.

Exceptions

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

OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, IOpcNode, OpcName) ​

protected

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

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

Parameters

NameTypeDescription
contentDiscreteItemStateThe DiscreteItemState 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.
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 discrete item node can be accessed.

Exceptions

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

OpcDiscreteItemNode(DiscreteItemState, OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected

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

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

Parameters

NameTypeDescription
contentDiscreteItemStateThe DiscreteItemState 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.
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 discrete item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new discrete item node can be identified and accessed.

Exceptions

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

Properties ​

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