Skip to content

Reference

OpcAttributeOperand Members

Represents an operand of an OpcContentFilterElement which is the value of an attribute of a node or of a node reached from it by a relative path.

Reference

OpcAttributeOperand Members ​

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

Inherits members from OpcFilterOperand.

Constructors ​

OpcAttributeOperand ​

6 overloads

OverloadDescription
OpcAttributeOperand(OpcNodeId)Initializes a new instance of the OpcAttributeOperand class referring to the Value attribute of the node with the nodeId specified.
OpcAttributeOperand(OpcNodeId, OpcRelativePath)Initializes a new instance of the OpcAttributeOperand class referring to the Value attribute of the node reached by the nodePath from the node with the nodeId specified.
OpcAttributeOperand(OpcNodeId, params OpcName[])Initializes a new instance of the OpcAttributeOperand class referring to the Value attribute of the node reached by the nodePathElements from the node with the nodeId specified.
OpcAttributeOperand(OpcNodeId, OpcAttribute)Initializes a new instance of the OpcAttributeOperand class referring to the attribute of the node with the nodeId specified.
OpcAttributeOperand(OpcNodeId, OpcAttribute, OpcRelativePath)Initializes a new instance of the OpcAttributeOperand class referring to the attribute of the node reached by the nodePath from the node with the nodeId specified.
OpcAttributeOperand(OpcNodeId, OpcAttribute, params OpcName[])Initializes a new instance of the OpcAttributeOperand class referring to the attribute of the node reached by the nodePathElements from the node with the nodeId specified.

OpcAttributeOperand(OpcNodeId) ​

Initializes a new instance of the OpcAttributeOperand class referring to the Value attribute of the node with the nodeId specified.

csharp
public OpcAttributeOperand(OpcNodeId nodeId)
vbnet
Public Sub New(nodeId As OpcNodeId)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the node.

Exceptions

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

OpcAttributeOperand(OpcNodeId, OpcRelativePath) ​

Initializes a new instance of the OpcAttributeOperand class referring to the Value attribute of the node reached by the nodePath from the node with the nodeId specified.

csharp
public OpcAttributeOperand(OpcNodeId nodeId, OpcRelativePath nodePath)
vbnet
Public Sub New(nodeId As OpcNodeId, nodePath As OpcRelativePath)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the node the path starts from.
nodePathOpcRelativePathThe relative path to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeId or nodePath is a null reference (Nothing in Visual Basic).

OpcAttributeOperand(OpcNodeId, params OpcName[]) ​

Initializes a new instance of the OpcAttributeOperand class referring to the Value attribute of the node reached by the nodePathElements from the node with the nodeId specified.

csharp
public OpcAttributeOperand(OpcNodeId nodeId, params OpcName[] nodePathElements)
vbnet
Public Sub New(nodeId As OpcNodeId, ParamArray nodePathElements As OpcName())

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the node the path starts from.
nodePathElementsparams OpcName[]The names of the nodes along the path. Each element is followed using the reference type Aggregates.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeId, the nodePathElements or one of its elements is a null reference (Nothing in Visual Basic).

OpcAttributeOperand(OpcNodeId, OpcAttribute) ​

Initializes a new instance of the OpcAttributeOperand class referring to the attribute of the node with the nodeId specified.

csharp
public OpcAttributeOperand(OpcNodeId nodeId, OpcAttribute attribute)
vbnet
Public Sub New(nodeId As OpcNodeId, attribute As OpcAttribute)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the node.
attributeOpcAttributeThe attribute of the node.

Exceptions

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

OpcAttributeOperand(OpcNodeId, OpcAttribute, OpcRelativePath) ​

Initializes a new instance of the OpcAttributeOperand class referring to the attribute of the node reached by the nodePath from the node with the nodeId specified.

csharp
public OpcAttributeOperand(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcRelativePath nodePath)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    nodePath As OpcRelativePath)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the node the path starts from.
attributeOpcAttributeThe attribute of the node reached.
nodePathOpcRelativePathThe relative path to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeId or nodePath is a null reference (Nothing in Visual Basic).

OpcAttributeOperand(OpcNodeId, OpcAttribute, params OpcName[]) ​

Initializes a new instance of the OpcAttributeOperand class referring to the attribute of the node reached by the nodePathElements from the node with the nodeId specified.

csharp
public OpcAttributeOperand(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    params OpcName[] nodePathElements)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    ParamArray nodePathElements As OpcName())

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the node the path starts from.
attributeOpcAttributeThe attribute of the node reached.
nodePathElementsparams OpcName[]The names of the nodes along the path. Each element is followed using the reference type Aggregates.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeId, the nodePathElements or one of its elements is a null reference (Nothing in Visual Basic).

Properties ​

Attribute ​

Gets the attribute the operand refers to.

csharp
public OpcAttribute Attribute { get; }
vbnet
Public ReadOnly Property Attribute As OpcAttribute

Property value

OpcAttribute

The attribute of the node; Value if no attribute has been specified.

NodeId ​

Gets the identifier of the node the operand starts from.

csharp
public OpcNodeId NodeId { get; }
vbnet
Public ReadOnly Property NodeId As OpcNodeId

Property value

OpcNodeId

The identifier of the node.

NodePath ​

Gets the relative path from the node identified by NodeId to the node whose attribute the operand refers to.

csharp
public OpcRelativePath NodePath { get; }
vbnet
Public ReadOnly Property NodePath As OpcRelativePath

Property value

OpcRelativePath

The relative path or a null reference (Nothing in Visual Basic) if the operand has been created without a path.