Documents::Item Method (Object^)
Visual Studio 2015
Returns an indexed member of a Documents collection.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- index
-
Type:
System::Object^
Required. The index of the item to return.
For most objects, the value passed to Index is an integer that is an index to an object in its collection. For many objects, though, 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 on 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.
Show: