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 | |
---|---|---|
CatalogTree | The Catalog tree that this node lives in. | |
Dependencies | The set of nodes that this node is dependent on. | |
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. | |
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. | |
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. | |
ParentPath | The path to this node's parent. | |
Resource | The referenced catalog resource. |
Top
Methods
Name | Description | |
---|---|---|
CreateChild(CatalogResource) | Factory method for creating a node and attaching a new resource. | |
CreateChild(Guid, String) | Factory method for creating a node with a new resource. This does not persist the node or the resource. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExpandDependencies | Calls to the server to populate the dependencies property on this object. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
QueryChildren(IEnumerable<Guid>, Boolean, CatalogQueryOptions) | Returns the children for this node. This function will call the web service. | |
QueryChildren(IEnumerable<Guid>, IEnumerable<KeyValuePair<String, String>>, Boolean, CatalogQueryOptions) | Returns the children for this node. This function will call the web service. | |
QueryDependents | Returns all of the nodes that depend on this nodes existence. | |
QueryParents | Returns the parents of this node. This function will call the web service. | |
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.