IOpcNamespaceResolver Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcNamespaceResolver interface defines the following members.

Resolve(Int32)

Resolves the Uri of the namespace which can be identified using the namespaceIndex specified.

C#

[Obsolete("Resolving a namespaceIndex to its namespaceUri is now handled by 'ResolveValue' in a generic way to provide a simple string-based value to support not well-formed namespace-URI information.")]
Uri Resolve(int namespaceIndex)


Parameters

namespaceIndex Int32

The numeric unique identifier of the namespace its Uri is to be resolved.


Returns

Uri

An instance of the Uri class representing the namespace which could be looked up using the namespaceIndex specified; otherwise a null reference (Nothing in Visual Basic).

Resolve(Uri)

Resolves the unique numeric identifier of the namespace specified by the namespaceUri.

C#

[Obsolete("Resolving a namespaceUri to its namespaceIndex is now handled by 'ResolveIndex' in a generic way independent from a well-formed namespace-URI.")]
int Resolve(Uri namespaceUri)


Parameters

namespaceUri Uri

The namespace Uri 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 namespaceUri specified; otherwise -1 if there is no know namespace which matches the namespaceUri specified.



Exceptions

ArgumentNullException

The namespaceUri is a null reference (Nothing in Visual Basic).

ResolveIndex(String)

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

C#

int ResolveIndex(string namespaceValue)


Parameters

namespaceValue String

The 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(Int32)

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

C#

string ResolveValue(int namespaceIndex)


Parameters

namespaceIndex Int32

The 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).