Condividi tramite


QueryItem Class

The base class for query folders and query definitions.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.QueryItem
    Microsoft.TeamFoundation.WorkItemTracking.Client.QueryDefinition
    Microsoft.TeamFoundation.WorkItemTracking.Client.QueryFolder

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

Syntax

'Dichiarazione
Public MustInherit Class QueryItem
public abstract class QueryItem
public ref class QueryItem abstract
[<AbstractClass>]
type QueryItem =  class end
public abstract class QueryItem

The QueryItem type exposes the following members.

Constructors

  Name Description
Protected method QueryItem Constructor

Top

Properties

  Name Description
Public property AccessControlList Gets the access control list for the query item.
Public property Id Gets the identifier of this query item.
Public property IsDeleted Gets a flag describing whether this item is a personal query or folder.
Public property IsDirty Gets a flag describing whether this query item needs to be saved.
Public property IsNew
Public property IsPersonal Gets a flag describing whether this item is a personal query or folder.
Public property Name Gets or sets the name of this query item.
Public property OwnerDescriptor Gets or sets the identity descriptor of the owner of the query item.
Public property Parent Gets the parent query folder.
Public property Path Gets the fully qualified path to this query item.
Public property Project Gets the project to which this query item is associated.

Top

Methods

  Name Description
Public method Delete Removes this item from the collection.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from 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 ToString Returns the fully qualified path to this query item. (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.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace