Share via


CatalogNode Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.CatalogNode

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

Syntax

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

The CatalogNode type exposes the following members.

Properties

  Name Description
Public property CatalogTree The Catalog tree that this node lives in.
Public property Dependencies The set of nodes that this node is dependent on.
Public property FullPath The fully qualified path that represents this node's place in the hierarchy. This value uniquely identifies a catalog node. The path itself is generated through the creation of the node and is not necessarily human readable. Note that this value is not valid until the node has been saved in the catalog service.
Public property IsDefault True if this node represents the default resource for its type at this level. Only one resource of a given type can be marked default for a given parent. If a node is being saved as default it will remove the default property from the current defualt of this type.
Public property ParentNode The parent node of this node if parent nodes were included in the query options that this catalog node was built from. Otherwise, this value is null.
Public property ParentPath The path to this node's parent.
Public property Resource The referenced catalog resource.

Top

Methods

  Name Description
Public method CreateChild(CatalogResource) Factory method for creating a node and attaching a new resource.
Public method CreateChild(Guid, String) Factory method for creating a node with a new resource. This does not persist the node or the resource.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method ExpandDependencies Calls to the server to populate the dependencies property on this object.
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 QueryChildren(IEnumerable<Guid>, Boolean, CatalogQueryOptions) Returns the children for this node. This function will call the web service.
Public method QueryChildren(IEnumerable<Guid>, IEnumerable<KeyValuePair<String, String>>, Boolean, CatalogQueryOptions) Returns the children for this node. This function will call the web service.
Public method QueryDependents Returns all of the nodes that depend on this nodes existence.
Public method QueryParents Returns the parents of this node. This function will call the web service.
Public method ToString (Overrides Object.ToString().)

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