Manages the OPC/UA namespaces of the OpcUaServer.
More...
Inherits IList< string >.
|
| ServerNamespaceList (OpcUaServer parent) |
| Creates a new namespace list for the given parent OpcUaServer. More...
|
|
int | Add (string name) |
| Adds a new namespace (registers it with the server). More...
|
|
bool | Contains (string name) |
| Checks whether the given name is present in this list. More...
|
|
void | CopyTo (string[] array, int arrayIndex) |
| Copies the content of this array to the target array starting at the given arrayIndex . More...
|
|
IEnumerator< string > | GetEnumerator () |
| Gets the enumerator to enumerate all namespaces. More...
|
|
int | IndexOf (string name) |
| Finds the index of the given namespace name . More...
|
|
|
string | this[int index] [get] |
| Gets the name of the namespace with the given index . More...
|
|
int | Count [get] |
| Gets the number of registered namespaces.
|
|
Manages the OPC/UA namespaces of the OpcUaServer.
◆ ServerNamespaceList()
Creates a new namespace list for the given parent OpcUaServer.
- Parameters
-
◆ Add()
Adds a new namespace (registers it with the server).
- Parameters
-
name | The name of the namespace to register. |
- Returns
- The namespace index of the added name .
◆ Contains()
bool Contains |
( |
string |
name | ) |
|
Checks whether the given name is present in this list.
- Parameters
-
- Returns
true
if name is inside this list.
◆ CopyTo()
void CopyTo |
( |
string[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
Copies the content of this array to the target array starting at the given arrayIndex .
- Parameters
-
array | Array to copy to. |
arrayIndex | Starting index in the target array . |
◆ GetEnumerator()
IEnumerator< string > GetEnumerator |
( |
| ) |
|
Gets the enumerator to enumerate all namespaces.
- Returns
- The enumerator for the namespace names.
◆ IndexOf()
int IndexOf |
( |
string |
name | ) |
|
Finds the index of the given namespace name .
- Parameters
-
- Returns
- Index of the name ; -1 if not found.
◆ this[int index]
Gets the name of the namespace with the given index .
- Parameters
-
index | Namespace index to get the name for. |
- Returns
- The name of the namespace