Share via


FileDialog.SelectedItems Property 

Returns a FileDialogSelectedItems collection.

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

Usage

Dim fileDialog1 As FileDialog

Dim returnValue As FileDialogSelectedItems
returnValue = fileDialog1.SelectedItems

Syntax

ReadOnly Property SelectedItems() As FileDialogSelectedItems
FileDialogSelectedItems SelectedItems {get;}
property FileDialogSelectedItems^ SelectedItems{
    FileDialogSelectedItems^ get();
}
public FileDialogSelectedItems get_SelectedItems();
function get SelectedItems() : FileDialogSelectedItems;

Remarks

This collection contains a list of the paths of the files that a user selected from a file dialog box displayed using the Show method of the FileDialog object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

FileDialog Interface
Microsoft.Office.Core Namespace

Other Resources

FileDialog Members