Share via


FileDialogSelectedItems 接口

定义

字符串值的集合,对应于用户从通过 对象显示FileDialog的文件对话框中选择的文件或文件夹的路径。

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
属性
实现

注解

SelectedItems将 属性与 对象一起使用FileDialog可返回 FileDialogSelectedItems 集合。

属性

Application

返回一个 Application 对象,该对象代表该对象的容器应用程序。

Count

返回一个 Integer 类型的值,该值指示指定集合中的项数。

Creator

返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。

Parent

返回指定对象的 Parent 对象。

方法

GetEnumerator()

字符串值的集合,对应于用户从通过 对象显示FileDialog的文件对话框中选择的文件或文件夹的路径。

Item(Int32)

返回一个 String 类型的 值,该字符串对应于用户使用 对象的 方法从文件对话框中 Show() 选择的文件之 FileDialog 一的路径。

适用于