Share via


StoredQueryCollection Members

Include Protected Members
Include Inherited Members

Queries can be persisted on the Team Foundation Server using the StoredQueryCollection class.

The StoredQueryCollection type exposes the following members.

Methods

 

Name

Description

Public method

Add

Adds a new StoredQuery to the collection.

Protected method

AddItem

Adds a new Object to the collection. (Overrides VariableSizeList.AddItem(Object).)

Public method

Clear

Clears the StoredQueryCollection. (Overrides VariableSizeList.Clear().)

Public method

CopyTo

Obsolete. (Inherited from VariableSizeList.)

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

GetEnumerator

(Inherited from VariableSizeList.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetItem

Returns the Object stored at index location in the collection. (Overrides VariableSizeList.GetItem(Int32).)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IndexOf

Returns the index of the StoredQuery.

Protected method

IndexOfItem

Returns the index of the Object stored in the collection. (Overrides VariableSizeList.IndexOfItem(Object).)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnStoredQueriesChanged

Event handler invoked when a stored query changes.

Public method

Refresh

Public method

Remove

Removes the specified StoredQuery.

Public method

RemoveAt

Removes the StoredQuery at the specified index. (Overrides VariableSizeList.RemoveAt(Int32).)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

 

Name

Description

Protected field

m_version

(Inherited from VariableSizeList.)

Top

Properties

 

Name

Description

Public property

Count

Gets the number of StoredQuery objects in the collection. (Overrides VariableSizeList.Count.)

Public property

IsFixedSize

Obsolete. (Inherited from VariableSizeList.)

Public property

IsReadOnly

Obsolete. (Inherited from VariableSizeList.)

Public property

IsSynchronized

Obsolete. (Inherited from VariableSizeList.)

Public property

Item

Overloaded.

Public property

SyncRoot

Obsolete. (Inherited from VariableSizeList.)

Top

Events

 

Name

Description

Public event

StoredQueriesChanged

Occurs when a StoredQuery changes.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IList.Add

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

IList.Clear

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

IList.Contains

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

ICollection.CopyTo

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

ICollection.Count

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

IList.IndexOf

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

IList.Insert

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

IList.IsFixedSize

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

IList.IsReadOnly

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

ICollection.IsSynchronized

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

IList.Item

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

IList.Remove

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate method

IList.RemoveAt

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

ICollection.SyncRoot

(Inherited from VariableSizeList.)

Explicit interface implemetationPrivate property

IVersionTag.VersionTag

(Inherited from VariableSizeList.)

Top

See Also

Reference

StoredQueryCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace