Delen via


Node Class

Describes a Node object that is used in the work item tracking data structures.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.Node

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

Syntax

'Declaration
Public NotInheritable Class Node _
    Implements IEnumerable
public sealed class Node : IEnumerable
public ref class Node sealed : IEnumerable
[<Sealed>]
type Node =  
    class 
        interface IEnumerable 
    end
public final class Node implements IEnumerable

The Node type exposes the following members.

Properties

  Name Description
Public property ChildNodes Gets the collection of child nodes of this node.
Public property HasChildNodes Gets a flag that indicates whether this node has child nodes.
Public property HasWorkItemReadRights Checks whether the current user has read rights to work items on this node.
Public property HasWorkItemReadRightsRecursive Checks whether the current user has read rights to work items on this node and its child nodes.
Public property HasWorkItemWriteRights Checks whether the current user has write rights to work items on this node.
Public property HasWorkItemWriteRightsRecursive Checks whether the user has write rights to work items on this node and its child nodes.
Public property Id Gets the ID of this node.
Public property IsAreaNode Gets a flag that describes whether this is an area node.
Public property IsIterationNode Gets a flag that describes whether this is an iteration node.
Public property Name Gets the name of this node.
Public property ParentNode Gets the parent node of this node.
Public property Path Gets the path of this node.
Public property Uri Gets the URI of this node.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FindNodeInSubTree(Int32) Gets the node in the subtree of this node based on the specified ID.
Public method FindNodeInSubTree(String) Gets the node in the subtree of this node based on the specified path.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
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

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

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.WorkItemTracking.Client Namespace