BranchCollection.GetEnumerator method

Microsoft Office Live Communications Server 2005 with SP1

BranchCollection.GetEnumerator

The GetEnumerator method obtains an IEnumerator interface used for iterating through the branch collection.

[C#]public IEnumerator GetEnumerator();
[Visual Basic .NET]Public Function GetEnumerator() As IEnumerator

Parameters

This method has no parameters.

Return Values

An IEnumerator interface that can be used to iterate through the collection of client ClientTransaction objects.

Remarks

The IEnumerator interface provides a method, IEnumerator.MoveNext(), which allows the caller to increment forward through the collection. To return to the start of the collection, call IEnumerator.Reset(). The current branch element can be obtained with the IEnumerator.Current property, which will return the element as an object that must be recast as a ClientTransaction type.

Requirements

Redistributable: Requires Microsoft Office Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

BranchCollection, ClientTransaction, IEnumerator

What did you think of this topic?
© 2008 Microsoft Corporation. All rights reserved.