Reference
OpcDataEnumerator Members
Provides an enumerator for simple iteration over a generic collection.
Reference
OpcDataEnumerator<T> Members
- Type
- OpcDataEnumerator<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Constructors
OpcDataEnumerator
Initializes a new instance of the OpcDataEnumerator<T> class using the list as the orginator of the items to iterate.
public OpcDataEnumerator(IList<T> list)Public Sub New(list As IList(Of T))Parameters
| Name | Type | Description |
|---|---|---|
list | IList< | An instance implementing the IList< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The list is a null reference ( |
Properties
Current
Gets the element in the origin at the current position of the enumerator.
public T Current { get; }Public ReadOnly Property Current As TProperty value
T
The element in the origin at the current position of the enumerator.
Exceptions
| Exception | Condition |
|---|---|
| Invalid | The enumerator has not yet been moved. |
Implements
Methods
Dispose
| Overload | Description |
|---|---|
| Dispose() | Releases all resources used by the Opc |
| Dispose( | Releases the unmanaged resources used by the Opc |
Dispose()
Releases all resources used by the OpcDataEnumerator<T>.
public void Dispose()Public Sub Dispose()Implements
Dispose(bool)
Releases the unmanaged resources used by the OpcDataEnumerator<T> and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)Protected Overridable Sub Dispose(disposing As Boolean)Parameters
| Name | Type | Description |
|---|---|---|
disposing | Boolean | The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources. |
MoveNext
Advances the enumerator to the next element of the origin.
public bool MoveNext()Public Function MoveNext() As BooleanReturns
The value true if the enumerator was successfully advanced to the next element; otherwise the value false if the enumerator has passed the end of the origin.
Implements
Reset
Sets the enumerator to its initial position, which is before the first element in the origin.
public void Reset()Public Sub Reset()Implements

