QueryItem Class

The base class for query folders and query definitions.

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

public abstract class QueryItem

The QueryItem type exposes the following members.

  NameDescription
Protected methodQueryItemConstructor
Top

  NameDescription
Public propertyAccessControlListGets the access control list for the query item.
Public propertyIdGets the identifier of this query item.
Public propertyIsDeletedGets a flag describing whether this item is a personal query or folder.
Public propertyIsDirtyGets a flag describing whether this query item needs to be saved.
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.
Public propertyIsPersonalGets a flag describing whether this item is a personal query or folder.
Public propertyNameGets or sets the name of this query item.
Public propertyOwnerDescriptorGets or sets the identity descriptor of the owner of the query item.
Public propertyParentGets the parent query folder.
Public propertyPathGets the fully qualified path of this query item.
Public propertyProjectGets the project to which this query item is associated.
Top

  NameDescription
Public methodDeleteRemoves this item from the collection.
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. (Overrides Object.ToString().)
Top

  NameDescription
Protected fieldm_lock
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