Imports::Item Method (Int32)

 

Returns an indexed member of the Imports object. The Item method is the default method for the Imports object.

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

String^ Item(
	int lIndex
)

Parameters

lIndex
Type: System::Int32

Required. A one-based index into Imports object.

Return Value

Type: System::String^

Returns an imports statement string by its position in the collection.

The Item method is retrieves the imports statement. To change an imports statement, delete the current one with the Remove method and add a new one with the Add method.

Return to top
Show: