CatalogNode Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.CatalogNode

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)> _
Public Class CatalogNode
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)]
public class CatalogNode
[ClassVisibilityAttribute(ClientVisibility::Public, ClientVisibility::Internal)]
public ref class CatalogNode
[<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)>]
type CatalogNode =  class end
public class CatalogNode

The CatalogNode type exposes the following members.

Constructors

  Name Description
Public method CatalogNode() Creates an empty instance of the CatalogNode
Public method CatalogNode(TeamFoundationCatalogService, String, String) Creates an initialized instance of the CatalogNode
Public method CatalogNode(TeamFoundationCatalogService, String, String, CatalogResource) Creates an initialized instance of the CatalogNode

Top

Properties

  Name Description
Public property ChangeType Expresses the change that has occurred on this item
Public property ChangeTypeValue Expresses change type over the web service
Public property ChildItem The last element of the full path
Public property Dependencies The nodes that this node depends on.
Public property FullPath The fully qualified path that represents this node's location in the hierarchy. This value uniquely identifies a catalog node. The path itself is generated when the node is created and is not necessarily human readable.
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 default of this type.
Public property MatchedQuery Used when the program reads from the database and when it sends results over the web service. This is used to distinguish between a node that is returned because it matched query parameters; that is, it was explicitly requested or if it was included because a node depends on it.
Public property NodeDependencies Controls how node dependencies are sent over web service.
Public property NodeDependenciesIncluded True if the node dependencies have been included on this object.
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 parent path.
Public property Resource The referenced catalog resource.
Public property ResourceIdentifier The identifier for the resource that this node references

Top

Methods

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