Imports.Item(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
System::String ^ Item(int lIndex);
public:
Platform::String ^ Item(int lIndex);
std::wstring Item(int lIndex);
[System.Runtime.InteropServices.DispId(0)]
public string Item (int lIndex);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : int -> string
Public Function Item (lIndex As Integer) As String
Parameters
Returns
Returns an imports statement string by its position in the collection.
- Attributes
Examples
See Imports.
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.