مشاركة عبر


KnownFoldersAccessStatus Enum

Definition

Describes a known folder's access to a single capability.

public enum class KnownFoldersAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class KnownFoldersAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum KnownFoldersAccessStatus
var value = Windows.Storage.KnownFoldersAccessStatus.deniedBySystem
Public Enum KnownFoldersAccessStatus
Inheritance
KnownFoldersAccessStatus
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Fields

Name Value Description
DeniedBySystem 0

System admin disabled access for all users.

NotDeclaredByApp 1

App doesn't have the capability declared in the manifest.

DeniedByUser 2

User has denied access and there is no fallback for this location.

UserPromptRequired 3

User consent is required, but not yet completed.

Allowed 4

Access is allowed.

AllowedPerAppFolder 5

Access is allowed but limited to a Per App Subfolder.

Applies to

See also