Item Method
Collapse the table of content
Expand the table of content

AddIns.Item Method (Object)


Returns an AddIn object in an AddIns collection.

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

AddIn Item(
	object index


Type: System.Object

Required. The index of the AddIn object to return.

Return Value

Type: EnvDTE.AddIn

A AddIn object.

Add-ins are now deprecated. For more information, see FAQ: Converting Add-ins to VSPackage Extensions.

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

Return to top
© 2016 Microsoft