Solution4::Item Method (Object^)

 

Returns an indexed member of a Projects collection.

Namespace:   EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.dll)

Project^ Item(
	Object^ index
)

Parameters

Index

Required. The index of the item to return.

Return Value

Type: EnvDTE::Project^

A Project object.

The value passed to Index is an integer that is an index to an object in its collection. The value of Index can also be a string value that equates to an object in the collection. The exact value that is accepted by Item, though, depends upon the collection and its implementation.

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

No code example is currently available or this language may not be supported.
Return to top
Show: