Skip to content

Reference

IOpcNamespaceResolver Members

Defines methods to resolve metadata of an OPC UA namespace.

Reference

IOpcNamespaceResolver Members ​

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

Methods ​

Resolve ​

since v2.12

Resolves another namespace using the information in the source specified.

csharp
OpcNamespace Resolve(OpcNamespace source)
vbnet
Function Resolve(source As OpcNamespace) As OpcNamespace

Parameters

NameTypeDescription
sourceOpcNamespaceThe OpcNamespace its Index (if specified) or its Value (if specified) is used to determine the according namespace known.

Returns

OpcNamespace

The OpcNamespace instance known using the index or value of the source specified; otherwise a null reference (Nothing in Visual Basic).

Exceptions

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

ResolveIndex ​

since v2.8

Resolves the unique identifier of the namespace specified by the namespaceValue.

csharp
int ResolveIndex(string namespaceValue)
vbnet
Function ResolveIndex(namespaceValue As String) As Integer

Parameters

NameTypeDescription
namespaceValueStringThe string representation of the namespace its unique numeric identifier is to be resolved.

Returns

Int32

The unique numeric identifier of the namespace which could be looked up using the namespaceValue specified; otherwise -1 if there is no known namespace which matches the namespaceValue specified.

ResolveValue ​

since v2.8

Resolves the string-based representation of the namespace which can be identified using the namespaceIndex specified.

csharp
string ResolveValue(int namespaceIndex)
vbnet
Function ResolveValue(namespaceIndex As Integer) As String

Parameters

NameTypeDescription
namespaceIndexInt32The numeric unique identifier of the namespace its string-based representation is to be resolved.

Returns

String

The string-based representation of the namespace which could be looked up using the namespaceIndex specified; otherwise a null reference (Nothing in Visual Basic).