SolutionContexts::Item Method (Object^)

 

Returns a SolutionContext object in a SolutionContexts collection.

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

SolutionContext^ Item(
	Object^ index
)

Parameters

Index

Required. The index of the SolutionContext object to return.

Return Value

Type: EnvDTE::SolutionContext^

A SolutionContext object.

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

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

Return to top
Show: