Struct
RadLinkedList<T>.Enumerator<TEnum>

Represents an enumerator for the RadLinkedList, providing the ability to iterate through the elements in the list.

Definition

Namespace:Telerik.Windows.Documents.DocumentStructure

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Type Parameters:

TEnum

Syntax:

cs-api-definition
public struct RadLinkedList<T>.Enumerator<TEnum> : IEnumerator<TEnum>, IEnumerator, IDisposable

Implements: IDisposableIEnumeratorIEnumerator<TEnum>

Inherited Members ValueType.Equals(object)ValueType.GetHashCode()ValueType.ToString()

Properties

Current

Gets the current element in the enumerator sequence.

Declaration

cs-api-definition
public TEnum Current { get; }

Property Value

TEnum

Implements IEnumerator<TEnum>.Current

Methods

Dispose()

Releases all resources used by the current instance of the RadLinkedList<T> class.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.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

cs-api-definition
public bool MoveNext()

Returns

bool

True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Implements IEnumerator.MoveNext()