Skip to content

Reference

OpcClient.BrowseNode Method

Browses the node identified by the nodeId specified to examine its attributes and its hierarchical references (see HierarchicalReferences) in the default view.

Reference

OpcClient.BrowseNode Method ​

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

7 overloads

OverloadDescription
BrowseNode(OpcNodeId)Browses the node identified by the nodeId specified to examine its attributes and its hierarchical references (see HierarchicalReferences) in the default view.
BrowseNode(OpcNodeId, IEnumerable<OpcReferenceType>)Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the default view.
BrowseNode(OpcNodeId, params OpcReferenceType[])Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the default view.
BrowseNode(OpcViewDescription, OpcNodeId)Browses the node identified by the nodeId specified to examine its attributes and its hierarchical references (see HierarchicalReferences) in the specified view.
BrowseNode(OpcViewDescription, OpcNodeId, IEnumerable<OpcReferenceType>)Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the specified view.
BrowseNode(OpcViewDescription, OpcNodeId, params OpcReferenceType[])Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the specified view.
BrowseNode(OpcBrowseNode)since v2.9Browses the node as defined by the command specified to examine its attributes and its references.

Exceptions (all overloads)

ExceptionCondition
OpcExceptionThe client is not connected to the server.
ObjectDisposedExceptionThe object has been disposed of.

BrowseNode(OpcNodeId) ​

Browses the node identified by the nodeId specified to examine its attributes and its hierarchical references (see HierarchicalReferences) in the default view.

csharp
public OpcNodeInfo BrowseNode(OpcNodeId nodeId)
vbnet
Public Function BrowseNode(nodeId As OpcNodeId) As OpcNodeInfo

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node to browse.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.

BrowseNode(OpcNodeId, IEnumerable<OpcReferenceType>) ​

Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the default view.

csharp
public OpcNodeInfo BrowseNode(
    OpcNodeId nodeId,
    IEnumerable<OpcReferenceType> referenceTypes)
vbnet
Public Function BrowseNode(
    nodeId As OpcNodeId,
    referenceTypes As IEnumerable(Of OpcReferenceType)) As OpcNodeInfo

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node to browse.
referenceTypesIEnumerable<OpcReferenceType>A sequence of OpcReferenceType values representing the type of references to browse for. If empty the HierarchicalReferences is used.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId or referenceTypes is a null reference (Nothing in Visual Basic).

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.

BrowseNode(OpcNodeId, params OpcReferenceType[]) ​

Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the default view.

csharp
public OpcNodeInfo BrowseNode(
    OpcNodeId nodeId,
    params OpcReferenceType[] referenceTypes)
vbnet
Public Function BrowseNode(
    nodeId As OpcNodeId,
    ParamArray referenceTypes As OpcReferenceType()) As OpcNodeInfo

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node to browse.
referenceTypesparams OpcReferenceType[]An array of OpcReferenceType values representing the type of references to browse for. If empty the HierarchicalReferences is used.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId or referenceTypes is a null reference (Nothing in Visual Basic).

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.

BrowseNode(OpcViewDescription, OpcNodeId) ​

Browses the node identified by the nodeId specified to examine its attributes and its hierarchical references (see HierarchicalReferences) in the specified view.

csharp
public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId)
vbnet
Public Function BrowseNode(
    view As OpcViewDescription,
    nodeId As OpcNodeId) As OpcNodeInfo

Parameters

NameTypeDescription
viewOpcViewDescriptionThe OpcViewDescription of the view onto the address space being browsed.
nodeIdOpcNodeIdThe OpcNodeId of the node to browse.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe view or nodeId is a null reference (Nothing in Visual Basic).

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.

BrowseNode(OpcViewDescription, OpcNodeId, IEnumerable<OpcReferenceType>) ​

Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the specified view.

csharp
public OpcNodeInfo BrowseNode(
    OpcViewDescription view,
    OpcNodeId nodeId,
    IEnumerable<OpcReferenceType> referenceTypes)
vbnet
Public Function BrowseNode(
    view As OpcViewDescription,
    nodeId As OpcNodeId,
    referenceTypes As IEnumerable(Of OpcReferenceType)) As OpcNodeInfo

Parameters

NameTypeDescription
viewOpcViewDescriptionThe OpcViewDescription of the view onto the address space being browsed.
nodeIdOpcNodeIdThe OpcNodeId of the node to browse.
referenceTypesIEnumerable<OpcReferenceType>A sequence of OpcReferenceType values representing the type of references to browse for. If empty the HierarchicalReferences is used.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe view or nodeId or referenceTypes is a null reference (Nothing in Visual Basic).

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.

BrowseNode(OpcViewDescription, OpcNodeId, params OpcReferenceType[]) ​

Browses the node identified by the nodeId specified to examine its attributes and the references specified by referenceTypes in the specified view.

csharp
public OpcNodeInfo BrowseNode(
    OpcViewDescription view,
    OpcNodeId nodeId,
    params OpcReferenceType[] referenceTypes)
vbnet
Public Function BrowseNode(
    view As OpcViewDescription,
    nodeId As OpcNodeId,
    ParamArray referenceTypes As OpcReferenceType()) As OpcNodeInfo

Parameters

NameTypeDescription
viewOpcViewDescriptionThe OpcViewDescription of the view onto the address space being browsed.
nodeIdOpcNodeIdThe OpcNodeId of the node to browse.
referenceTypesparams OpcReferenceType[]An array of OpcReferenceType values representing the type of references to browse for. If empty the HierarchicalReferences is used.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe view or nodeId or referenceTypes is a null reference (Nothing in Visual Basic).

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.

BrowseNode(OpcBrowseNode) ​

since v2.9

Browses the node as defined by the command specified to examine its attributes and its references.

csharp
public OpcNodeInfo BrowseNode(OpcBrowseNode command)
vbnet
Public Function BrowseNode(command As OpcBrowseNode) As OpcNodeInfo

Parameters

NameTypeDescription
commandOpcBrowseNodeThe OpcBrowseNode command which defines the node, the view, the type of references and the degree of nodes to browse.

Returns

OpcNodeInfo

An instance of the OpcNodeInfo class or of one of its derived classes (such as OpcObjectNodeInfo, OpcVariableNodeInfo or OpcMethodNodeInfo) depending on the category of the node.

Remarks

In case there the node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is returned whose Category is Unspecified.