共用方式為


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

'宣告
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRequestedItem Searches for the specified item in the tree from the root.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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