TaskItems.Item Method

Returns a TaskItem object in a TaskItems collection.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

TaskItem Item (
	[InAttribute] Object index
TaskItem Item (
	/** @attribute InAttribute() */ Object index
function Item (
	index : Object
) : TaskItem



Return Value

A TaskItem object.

The value passed to Index is either an integer that is an index to a TaskItem object in its TaskItems collection or the name a TaskItem object in the collection.

The Item method throws a ArgumentException exception if the collection cannot find the object that corresponds to the index value.

Community Additions