Struct ListByte.Enumerator
Enumerates the elements of a System.Collections.Generic.List.
Inherited Members
Namespace: System.Collections.Generic
Assembly: Iot.Device.Pn532.dll
Syntax
public struct Enumerator : IEnumerator, IDisposable
Constructors
| Improve this Doc View SourceEnumerator(ListByte)
Create an enumerator of the collection
Declaration
public Enumerator(ListByte collection)
Parameters
| Type | Name | Description |
|---|---|---|
| ListByte | collection |
Enumerator(ListByte)
Create an enumerator of the collection
Declaration
public Enumerator(ListByte collection)
Parameters
| Type | Name | Description |
|---|---|---|
| ListByte | collection |
Properties
| Improve this Doc View SourceCurrent
Gets the element at the current position of the enumerator.
Declaration
public readonly byte Current { get; }
Property Value
| Type | Description |
|---|---|
| Byte |
Current
Gets the element at the current position of the enumerator.
Declaration
public readonly byte Current { get; }
Property Value
| Type | Description |
|---|---|
| Byte |
Methods
| Improve this Doc View SourceDispose()
Releases all resources used by the System.Collections.Generic.List.Enumerator.
Declaration
public void Dispose()
Dispose()
Releases all resources used by the System.Collections.Generic.List.Enumerator.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next element of the System.Collections.Generic.List.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| Boolean | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
MoveNext()
Advances the enumerator to the next element of the System.Collections.Generic.List.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| Boolean | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Reset()
Move back to first position
Declaration
public void Reset()
Reset()
Move back to first position
Declaration
public void Reset()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerator.Current
Declaration
readonly object IEnumerator.Current { get; }
Returns
| Type | Description |
|---|---|
| Object |
IEnumerator.Current
Declaration
readonly object IEnumerator.Current { get; }
Returns
| Type | Description |
|---|---|
| Object |