Class RadLinkedList<T>.Enumerator<TEnum>
Represents an enumerator for the RadLinkedList, providing the ability to iterate through the elements in the list.
Inheritance
Namespace: Telerik.Windows.Documents.DocumentStructure
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public sealed class Enumerator<TEnum> : ValueType, IEnumerator<TEnum>, IEnumerator, IDisposable
Type Parameters
TEnum
|
Properties
Current
Gets the current element in the enumerator sequence.
Declaration
public TEnum Current { get; }
Property Value
TEnum
|
Methods
Dispose()
Releases all resources used by the current instance of the RadLinkedList<T> class.
Declaration
public void Dispose()
Remarks
Call this method when you no longer need the enumerator to free up resources.
MoveNext()
Advances the enumerator to the next element of the linked list.
Declaration
public bool MoveNext()
Returns
System.Boolean
True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |