次の方法で共有


StoredQuery Class

Represents a stored query.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQuery

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

Syntax

'Declaration
Public Class StoredQuery _
    Implements IComparable
public class StoredQuery : IComparable
public ref class StoredQuery : IComparable
type StoredQuery =  
    class 
        interface IComparable 
    end
public class StoredQuery implements IComparable

The StoredQuery type exposes the following members.

Constructors

  Name Description
Public method StoredQuery Initializes a new StoredQuery instance.

Top

Properties

  Name Description
Public property CreationTime Gets the date and time that this stored query was created.
Public property CreationTimeUtc Gets the UTC date and time that this stored query was created.
Public property Description Gets or sets the description of this stored query.
Public property IsSaved Gets a flag that describes whether this stored query has been saved.
Public property LastWriteTime Gets the date and time that this stored query was created.
Public property LastWriteTimeUtc Gets the UTC date and time that this stored query was created.
Public property Name Gets or sets the name of this stored query.
Public property Owner Gets the owner of this stored query.
Public property Project Gets the project that is associated with this stored query.
Public property QueryGuid Gets the GUID that is associated with this stored query.
Public property QueryScope Gets or sets the scope of this stored query.
Public property QueryText Gets or sets the query string.

Top

Methods

  Name Description
Public method CompareTo Compares this stored query to the specified instance.
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 the default hash function. (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 Reset Resets all changes that were made to this query to the initial state.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Update Updates the stored query.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IComparable.CompareTo

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