BranchCollection Class

Definition

The BranchCollection class represents an unordered collection of client transactions (branches) that are associated with a server transaction. Each client transaction is represented as a ClientTransaction object, and can be obtained through the IEnumerator interface that is returned by the GetEnumerator() method.A BranchCollection object is obtained by referencing the Branches property, which contains all of the client transactions that are defined for that server transaction.This class implements the IEnumerable interface.The BranchCollection class is derived from the System.Object class.

public ref class BranchCollection sealed : System::Collections::IEnumerable
public sealed class BranchCollection : System.Collections.IEnumerable
Public NotInheritable Class BranchCollection
Implements IEnumerable
Inheritance
BranchCollection
Implements

Properties

Count

The Count property contains the total number of elements in the BranchCollection.

IsEmpty

The IsEmpty property indicates whether the BranchCollection object is empty (has no elements).

Methods

GetEnumerator()

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

Applies to