Share via


WorkItemCollection Members

Include Protected Members
Include Inherited Members

This class encapsulates a collection of WorkItems.

The WorkItemCollection type exposes the following members.

Methods

 

Name

Description

Public method

Contains

Checks for a strongly typed WorkItem in this collection.

Public method

CopyTo

Infrastructure. Obsolete. (Inherited from ReadOnlyList.)

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

Infrastructure. (Inherited from ReadOnlyList.)

Public method

GetHashCode

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

Protected method

GetItem

Infrastructure. (Inherited from ReadOnlyList.)

Public method

GetType

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

Public method

IndexOf

Overloaded. Returns the collection index for the specified WorkItem. Returns -1 if the item is not found.

Protected method

MemberwiseClone

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

Public method

Resort

Resorts the collection based on the SortFields property.

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

AsOf

Gets the client DateTime at which the query was executed for this collection.

Public property

AsOfUTC

Gets the GMT/UTC DateTime at which the query was executed for this collection.

Public property

Count

Gets the number of WorkItems in this collection. (Overrides ReadOnlyList.Count.)

Public property

DefaultProjectHint

Gets or sets the default project hint for the collection to support partial open, by setting properties on the object that allow for all "relevant" fields to be paged in.

Public property

DisplayFields

Gets the DisplayFieldList collection for the WorkItem fields retrieved by the query.

Public property

IsFixedSize

Infrastructure. Obsolete. (Inherited from ReadOnlyList.)

Public property

IsReadOnly

Infrastructure. Obsolete. (Inherited from ReadOnlyList.)

Public property

IsSynchronized

Infrastructure. Obsolete. (Inherited from ReadOnlyList.)

Public property

Item

Gets the WorkItem at index.

Public property

PageSize

Gets or sets the page size for this collection. This must be a value between 50 and 200, inclusive.

Public property

Query

Gets the query used to obtain this collection.

Public property

SortFields

Gets the fields used to sort the collection.

Public property

Store

Gets the WorkItemStore object.

Public property

SyncRoot

Infrastructure. Obsolete. (Inherited from ReadOnlyList.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IList.Add

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

IList.Clear

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

IList.Contains

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

ICollection.CopyTo

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate property

ICollection.Count

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

IList.IndexOf

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

IList.Insert

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate property

IList.IsFixedSize

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate property

IList.IsReadOnly

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate property

ICollection.IsSynchronized

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate property

IList.Item

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

IList.Remove

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate method

IList.RemoveAt

(Inherited from ReadOnlyList.)

Explicit interface implemetationPrivate property

ICollection.SyncRoot

(Inherited from ReadOnlyList.)

Top

See Also

Reference

WorkItemCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace