Share via


FileDialogSelectedItems.Item Method

Returns a String that corresponds to the path of one of the files that the user selected from a file dialog box that was displayed using the Show method of the FileDialog object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function Item ( _
    Index As Integer _
) As String
'Usage
Dim instance As FileDialogSelectedItems
Dim Index As Integer
Dim returnValue As String

returnValue = instance(Index)
string Item(
    int Index
)

Parameters

  • Index
    Type: System.Int32

    Required Integer. The index number of the string to be returned.

Return Value

Type: System.String

See Also

Reference

FileDialogSelectedItems Interface

FileDialogSelectedItems Members

Microsoft.Office.Core Namespace