BranchCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for