Freigeben über


Imports.Item Method

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)

Syntax

'Declaration
Function Item ( _
    lIndex As Integer _
) As String
string Item(
    int lIndex
)
String^ Item(
    [InAttribute] int lIndex
)
abstract Item : 
        lIndex:int -> string
function Item(
    lIndex : int
) : String

Parameters

  • lIndex
    Type: Int32

    Required. A one-based index into Imports object.

Return Value

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

Remarks

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.

Examples

See Imports.

.NET Framework Security

See Also

Reference

Imports Interface

VSLangProj Namespace