QueryFolder Class

Represents a folder in a team project that can contain QueryDefinitions and other QueryFolders.

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

public class QueryFolder : QueryItem, 
	IEnumerable<QueryItem>, IEnumerable

The QueryFolder type exposes the following members.

  NameDescription
Public methodQueryFolder(String)Initializes a new QueryFolder instance.
Public methodQueryFolder(String, QueryFolder)Initializes a new QueryFolder instance.
Top

  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.
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.
Public propertyItem[String]Gets the query item in this folder with the specified name.
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.)
Top

  NameDescription
Public methodAddAdds the specified query item to this folder.
Public methodContains(Guid)Checks whether the specified query item exists in this query folder.
Public methodContains(String)Checks whether the specified query item exists in this query folder.
Public methodContains(QueryItem)Checks whether the specified query item exists in this query folder.
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.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
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.
Public eventContentsChangedThis event is fired when the contents of the folder change.
Top

  NameDescription
Protected fieldm_lock (Inherited from QueryItem.)
Top

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