Skip to content

Reference

OpcSimpleAttributeOperand Members

Represents an operand of an OpcContentFilterElement which is the value of an attribute of a node described by a type definition and a path of browse names.

Reference

OpcSimpleAttributeOperand Members ​

Type
OpcSimpleAttributeOperand
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 ​

OpcSimpleAttributeOperand ​

5 overloads

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

OpcSimpleAttributeOperand(OpcNodeId) ​

Initializes a new instance of the OpcSimpleAttributeOperand class referring to the Value attribute of the type definition with the nodeId specified.

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

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the type definition.

Exceptions

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

OpcSimpleAttributeOperand(OpcNodeId, params OpcName[]) ​

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

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

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the type definition.
nodePathElementsparams OpcName[]The browse names of the nodes along the path.

Exceptions

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

OpcSimpleAttributeOperand(OpcNodeId, OpcAttribute) ​

Initializes a new instance of the OpcSimpleAttributeOperand class referring to the attribute of the type definition with the nodeId specified.

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

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the type definition.
attributeOpcAttributeThe attribute.

Exceptions

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

OpcSimpleAttributeOperand(OpcNodeId, OpcAttribute, OpcNamePath) ​

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

csharp
public OpcSimpleAttributeOperand(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcNamePath nodePath)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    nodePath As OpcNamePath)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe identifier of the type definition.
attributeOpcAttributeThe attribute of the node reached.
nodePathOpcNamePathThe path of browse names to the node.

Exceptions

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

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

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

csharp
public OpcSimpleAttributeOperand(
    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 type definition.
attributeOpcAttributeThe attribute of the node reached.
nodePathElementsparams OpcName[]The browse names of the nodes along the path.

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 type definition the operand starts from.

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

Property value

OpcNodeId

The identifier of the type definition.

Remarks

Despite its name, the property provides the type definition of the operand, not the identifier of a node instance.

NodePath ​

Gets the path of browse names from the type definition to the node whose attribute the operand refers to.

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

Property value

OpcNamePath

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