StoredQueryCollection Class
Represents the stored queries collection from a project or work item store.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Common.VariableSizeList
Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQueryCollection
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Class StoredQueryCollection _
Inherits VariableSizeList
public class StoredQueryCollection : VariableSizeList
public ref class StoredQueryCollection : public VariableSizeList
type StoredQueryCollection =
class
inherit VariableSizeList
end
public class StoredQueryCollection extends VariableSizeList
The StoredQueryCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of stored queries in this collection. (Overrides VariableSizeList.Count.) | |
IsFixedSize | Obsolete. (Inherited from VariableSizeList.) | |
IsReadOnly | Obsolete. (Inherited from VariableSizeList.) | |
IsSynchronized | Obsolete. (Inherited from VariableSizeList.) | |
Item[Guid] | Gets the stored query at the specified index. | |
Item[Int32] | Gets the stored query at the specified index. | |
SyncRoot | Obsolete. (Inherited from VariableSizeList.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds the specified query to the collection. | |
AddItem | Adds the specified object to this collection. (Overrides VariableSizeList.AddItem(Object).) | |
Clear | Clears this collection. (Overrides VariableSizeList.Clear().) | |
CopyTo | Obsolete. (Inherited from VariableSizeList.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | (Inherited from VariableSizeList.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetItem | Gets the object in this collection at the specified index. (Overrides VariableSizeList.GetItem(Int32).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Gets the index of the specified stored query. | |
IndexOfItem | Gets the index in this collection of the specified object. (Overrides VariableSizeList.IndexOfItem(Object).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnStoredQueriesChanged | Event handler for when stored queries change. | |
Refresh | Synchronizes the server and client copies of the stored query collection. | |
Remove | Removes the specified stored query from this collection. | |
RemoveAt | Removes the stored query at the specified index. (Overrides VariableSizeList.RemoveAt(Int32).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
StoredQueriesChanged | This event is fired when the queries stored in this collection are changed. |
Top
Fields
Name | Description | |
---|---|---|
m_version | (Inherited from VariableSizeList.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from VariableSizeList.) | |
IList.Clear | (Inherited from VariableSizeList.) | |
IList.Contains | (Inherited from VariableSizeList.) | |
ICollection.CopyTo | (Inherited from VariableSizeList.) | |
ICollection.Count | (Inherited from VariableSizeList.) | |
IList.IndexOf | (Inherited from VariableSizeList.) | |
IList.Insert | (Inherited from VariableSizeList.) | |
IList.IsFixedSize | (Inherited from VariableSizeList.) | |
IList.IsReadOnly | (Inherited from VariableSizeList.) | |
ICollection.IsSynchronized | (Inherited from VariableSizeList.) | |
IList.Item | (Inherited from VariableSizeList.) | |
IList.Remove | (Inherited from VariableSizeList.) | |
IList.RemoveAt | (Inherited from VariableSizeList.) | |
ICollection.SyncRoot | (Inherited from VariableSizeList.) | |
IVersionTag.VersionTag | (Inherited from VariableSizeList.) |
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.