FileDialogPermissionAccess 枚举

定义

注意

Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}

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

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

public enum class FileDialogPermissionAccess
[System.Flags]
public enum FileDialogPermissionAccess
[System.Flags]
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public enum FileDialogPermissionAccess
[System.Flags]
[System.Serializable]
public enum FileDialogPermissionAccess
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum FileDialogPermissionAccess
[<System.Flags>]
type FileDialogPermissionAccess = 
[<System.Flags>]
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type FileDialogPermissionAccess = 
[<System.Flags>]
[<System.Serializable>]
type FileDialogPermissionAccess = 
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
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.

适用于

另请参阅