共用方式為


BranchHistoryTreeItem Class

The branch history tree item node type that represents an individual node in a branch topology tree.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.BranchHistoryTreeItem

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public NotInheritable Class BranchHistoryTreeItem
public sealed class BranchHistoryTreeItem
public ref class BranchHistoryTreeItem sealed
[<Sealed>]
type BranchHistoryTreeItem =  class end
public final class BranchHistoryTreeItem

The BranchHistoryTreeItem type exposes the following members.

Constructors

  Name Description
Public method BranchHistoryTreeItem Initializes a new branch history tree item instance.

Top

Properties

  Name Description
Public property Children Gets the child branch topology nodes of the current node.
Public property Level Gets the depth of this node in the branch topology tree.
Public property Parent Gets the parent branch topology tree node.
Public property Relative Gets the edge of the branch topology tree where this node exists.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetRequestedItem Searches for the specified item in the tree starting from the root.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Microsoft.TeamFoundation.VersionControl.Client Namespace