편집

다음을 통해 공유


FileDialogSelectedItems Interface

Definition

A collection of String values that correspond to the paths of the files or folders that a user has selected from a file dialog box displayed through the FileDialog object.

public interface class FileDialogSelectedItems : Microsoft::Office::Core::_IMsoDispObj, System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000C0363-0000-0000-C000-000000000046")]
public interface FileDialogSelectedItems : Microsoft.Office.Core._IMsoDispObj, System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("000C0363-0000-0000-C000-000000000046")>]
type FileDialogSelectedItems = interface
    interface _IMsoDispObj
    interface IEnumerable
Public Interface FileDialogSelectedItems
Implements _IMsoDispObj, IEnumerable
Attributes
Implements

Remarks

Use the SelectedItems property with the FileDialog object to return a FileDialogSelectedItems collection.

Properties

Application

Returns an Application object that represents the container application for the object.

Count

Returns an Integer indicating the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Parent

Returns the Parent object for the specified object.

Methods

GetEnumerator()
Item(Int32)

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.

Applies to