Brecham.Obex — An OBEX library for the .NET Framework

ObexHeaderCollection.GetEnumerator Method 

Returns an enumerator that iterates through a collection.

[Visual Basic]
NotOverridable Public Function GetEnumerator() As IEnumerator`1([Brecham.Obex.ObexHeaderId, Brecham.Obex, Version=1.5.1203.0, Culture=neutral, PublicKeyToken=0cefc6fe962033b6)) _
    Implements IEnumerable`1.GetEnumerator
[C#]
public 0, Culture=neutral, PublicKeyToken=0cefc6fe962033b6]] GetEnumerator();

Return Value

An IEnumerator`1 that can be used to iterate through the collection, returning the ObexHeaderId keys.

Implements

IEnumerable`1.GetEnumerator

Remarks

The enumeration is of the Header ID keys. As noted in the class documentation, it is safe to continue using the enumerator even if Remove has been called meanwhile; at all times all the IDs that were present when the enumerator was created will be returned by it.

See Also

ObexHeaderCollection Class | Brecham.Obex Namespace