OpcNamespaceCollection Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcNamespaceCollection type exposes the following members.

OpcNamespaceCollection()

Initializes a new instance of the OpcNamespaceCollection class.

C#

public OpcNamespaceCollection()

OpcNamespaceCollection(IList<OpcNamespace>)

Initializes a new instance of the OpcNamespaceCollection class as a wrapper for the specified list.

C#

public OpcNamespaceCollection(IList<OpcNamespace> list)


Parameters

list IList<OpcNamespace>

The IList´1 of OpcNamespace values to wrap.


Exceptions

ArgumentNullException

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

ClearItems()

C#

protected override void ClearItems()

Dispose()

Releases all resources used by the OpcNamespaceCollection.

C#

public void Dispose()

Dispose(Boolean)

Releases the unmanaged resources used by the OpcNamespaceCollection and optionally releases the managed resources.

C#

protected virtual void Dispose(bool disposing)


Parameters

disposing Boolean

The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources.

InsertItem(Int32, OpcNamespace)

C#

protected override void InsertItem(int index, OpcNamespace item)


Parameters

index Int32


item OpcNamespace


RemoveItem(Int32)

C#

protected override void RemoveItem(int index)


Parameters

index Int32


Resolve(OpcNamespace)

Resolves another namespace using the information in the source specified.

C#

public OpcNamespace Resolve(OpcNamespace source)


Parameters

source OpcNamespace

The 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

ArgumentNullException

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

ResolveIndex(String)

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

C#

public 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#

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

SetItem(Int32, OpcNamespace)

C#

protected override void SetItem(int index, OpcNamespace item)


Parameters

index Int32


item OpcNamespace