Export (0) Print
Expand All

StoredQueryCollection Class

Represents the stored queries collection from a project or work item store.


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

public class StoredQueryCollection : VariableSizeList

The StoredQueryCollection type exposes the following members.

Public propertyCountGets the number of stored queries in this collection. (Overrides VariableSizeList.Count.)
Public propertyIsFixedSize Obsolete. (Inherited from VariableSizeList.)
Public propertyIsReadOnly Obsolete. (Inherited from VariableSizeList.)
Public propertyIsSynchronized Obsolete. (Inherited from VariableSizeList.)
Public propertyItem[Guid]Gets the stored query at the specified index.
Public propertyItem[Int32]Gets the stored query at the specified index.
Public propertySyncRoot Obsolete. (Inherited from VariableSizeList.)

Public methodAddAdds the specified query to the collection.
Protected methodAddItemAdds the specified object to this collection. (Overrides VariableSizeList.AddItem(Object).)
Public methodClearClears this collection. (Overrides VariableSizeList.Clear().)
Public methodCopyTo Obsolete. (Inherited from VariableSizeList.)
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 methodGetEnumerator (Inherited from VariableSizeList.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetItemGets the object in this collection at the specified index. (Overrides VariableSizeList.GetItem(Int32).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfGets the index of the specified stored query.
Protected methodIndexOfItemGets the index in this collection of the specified object. (Overrides VariableSizeList.IndexOfItem(Object).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnStoredQueriesChangedEvent handler for when stored queries change.
Public methodRefreshSynchronizes the server and client copies of the stored query collection.
Public methodRemoveRemoves the specified stored query from this collection.
Public methodRemoveAtRemoves the stored query at the specified index. (Overrides VariableSizeList.RemoveAt(Int32).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventStoredQueriesChangedThis event is fired when the queries stored in this collection are changed.

Protected fieldm_version (Inherited from VariableSizeList.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft