_Solution.Item Method (Object)

 

Returns a Project object in a Projects collection.

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

Project Item(
	object index
)

Parameters

index
Type: System.Object

Required. The index of the Project object to return.

Return Value

Type: EnvDTE.Project

A Project object.

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

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

Return to top
Show: