Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a query.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.QueryItem
    Microsoft.TeamFoundation.WorkItemTracking.Client.QueryDefinition
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public NotInheritable Class QueryDefinition _
    Inherits QueryItem
public sealed class QueryDefinition : QueryItem
public ref class QueryDefinition sealed : public QueryItem
[<Sealed>]
type QueryDefinition =  
    class 
        inherit QueryItem 
    end
public final class QueryDefinition extends QueryItem
The QueryDefinition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]()  | 
QueryDefinition(String, String) | Initializes a new QueryDefinition instance. | 
![]()  | 
QueryDefinition(String, String, QueryFolder) | Initializes a new QueryDefinition instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
![]()  | 
AccessControlList | Gets the access control list for the query item. (Inherited from QueryItem.) | 
![]()  | 
Id | Gets the identifier of this query item. (Inherited from QueryItem.) | 
![]()  | 
IsDeleted | Gets a flag describing whether this item is a personal query or folder. (Inherited from QueryItem.) | 
![]()  | 
IsDirty | Gets a flag describing whether this query item needs to be saved. (Inherited from QueryItem.) | 
![]()  | 
IsNew | Returns '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.) | 
![]()  | 
IsPersonal | Gets a flag describing whether this item is a personal query or folder. (Inherited from QueryItem.) | 
![]()  | 
Name | Gets or sets the name of this query item. (Inherited from QueryItem.) | 
![]()  | 
OwnerDescriptor | Gets or sets the identity descriptor of the owner of the query item. (Inherited from QueryItem.) | 
![]()  | 
Parent | Gets the parent query folder. (Inherited from QueryItem.) | 
![]()  | 
Path | Gets the fully qualified path of this query item. (Inherited from QueryItem.) | 
![]()  | 
Project | Gets the project to which this query item is associated. (Inherited from QueryItem.) | 
![]()  | 
QueryText | Gets or sets the query text. | 
![]()  | 
QueryType | Gets the type of this query. | 
Top
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Delete | Removes this item from the collection. (Inherited from QueryItem.) | 
![]()  | 
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
![]()  | 
GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
![]() ![]()  | 
GetQueryType | Gets the query type from the specified text. | 
![]()  | 
GetType | Gets the Type of the current instance. (Inherited from Object.) | 
![]()  | 
ToString | Returns the fully qualified path to this query item. (Inherited from QueryItem.) | 
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.
.gif)
.gif)
.gif)