Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

QueryHierarchy Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the top-level folder in a project.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
public sealed class QueryHierarchy : QueryFolder

The QueryHierarchy type exposes the following members.

  NameDescription
Public propertyAccessControlListGets the access control list for the query item. (Inherited from QueryItem.)
Public propertyCountGets the number of items in this folder. This count is not recursive. (Inherited from QueryFolder.)
Public propertyIdGets the identifier of this query item. (Inherited from QueryItem.)
Public propertyIsDeletedGets a flag describing whether this item is a personal query or folder. (Inherited from QueryItem.)
Public propertyIsDirtyGets a flag describing whether this query item needs to be saved. (Inherited from QueryItem.)
Public propertyIsNewReturns 'true' if this query item is stored on the server, 'false' if it is a 'new' query item that has not been saved. (Inherited from QueryItem.)
Public propertyIsPersonalGets a flag describing whether this item is a personal query or folder. (Inherited from QueryItem.)
Public propertyItem[Guid]Gets the query item in this folder with the specified GUID. (Inherited from QueryFolder.)
Public propertyItem[String]Gets the query item in this folder with the specified name. (Inherited from QueryFolder.)
Public propertyNameGets or sets the name of this query item. (Inherited from QueryItem.)
Public propertyOwnerDescriptorGets or sets the identity descriptor of the owner of the query item. (Inherited from QueryItem.)
Public propertyParentGets the parent query folder. (Inherited from QueryItem.)
Public propertyPathGets the fully qualified path of this query item. (Inherited from QueryItem.)
Public propertyProjectGets the project to which this query item is associated. (Inherited from QueryItem.)
Public propertySupportsFoldersGets a flag describing whether the server supports creating query folders.
Public propertySupportsPermissionsGets a flag describing whether the server supports setting permissions on queries and query folders.
Top
  NameDescription
Public methodAddAdds the specified query item to this folder. (Inherited from QueryFolder.)
Public methodContains(Guid)Checks whether the specified query item exists in this query folder. (Inherited from QueryFolder.)
Public methodContains(String)Checks whether the specified query item exists in this query folder. (Inherited from QueryFolder.)
Public methodContains(QueryItem)Checks whether the specified query item exists in this query folder. (Inherited from QueryFolder.)
Public methodDeleteRemoves this item from the collection. (Inherited from QueryItem.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodFindGets the query item with the specified GUID.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodRefreshResets all changes to the hierarchy and updates the hierarchy from the server.
Public methodResetUndoes all changes to the hierarchy.
Public methodSaveSaves all changes to the hierarchy.
Public methodToStringReturns the fully qualified path to this query item. (Inherited from QueryItem.)
Top
  NameDescription
Public eventChangesCommittedThis event is fired when the content change of the folder is committed to the server. (Inherited from QueryFolder.)
Public eventContentsChangedThis event is fired when the contents of the folder change. (Inherited from QueryFolder.)
Public eventHierarchyRefreshedThis event is fired after the hierarchy is successfully refreshed from the server.
Public eventHierarchyResetThis event is fired after the hierarchy is reset (all changes are undone).
Public eventHierarchySavedFired after updates to the hierarchy are successfully saved to the server.
Top

Contains the Team Queries and My Queries folders. Provides operations for finding items, resetting changes to the tree, and saving changes to the tree.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.