FileDialogPermissionAccess 枚举

定义

指定允许通过“文件”对话框访问文件的类型。Specifies the type of access to files allowed through the File dialog boxes.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class FileDialogPermissionAccess
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum FileDialogPermissionAccess
type FileDialogPermissionAccess = 
Public Enum FileDialogPermissionAccess
继承
FileDialogPermissionAccess
属性

字段

None 0

没有通过“文件”对话框访问文件的权限。No access to files through the File dialog boxes.

Open 1

可以通过“文件”对话框打开文件。Ability to open files through the File dialog boxes.

OpenSave 3

可以通过“文件”对话框打开并保存文件。Ability to open and save files through the File dialog boxes.

Save 2

可以通过“文件”对话框保存文件。Ability to save files through the File dialog boxes.

适用于

另请参阅