Share via


SortableCollection.GetEnumerator Method

Adds code to fire an assert if a lock is not held on the UI thread.

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As SortableCollection(Of T)
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator
public IEnumerator<T> GetEnumerator ()
public:
virtual IEnumerator<T>^ GetEnumerator () sealed

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SortableCollection Generic Class
SortableCollection Members
Microsoft.Expression.Encoder Namespace