Delen via


AccessListEntry Struct

Definition

Represents a list entry that contains the identifier and metadata for a StorageFile or StorageFolder object in a list.

public value class AccessListEntry
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct AccessListEntry
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct AccessListEntry
var accessListEntry = {
token : /* Your value */,
metadata : /* Your value */
}
Public Structure AccessListEntry
Inheritance
AccessListEntry
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

The fields of the AccessListEntry structure are set by an app when it adds a StorageFile or StorageFolder to the StorageItemAccessList or to the StorageItemMostRecentlyUsedList.

The AccessListEntry for an item in a list can be accessed from the AccessListEntryView.First or AccessListEntryView.GetAt methods, or from the ItemRemovedEventArgs.RemovedEntry property.

Fields

Metadata

Optional app-specified metadata associated with the StorageFile or StorageFolder in the list.

Token

The identifier of the StorageFile or StorageFolder in the list.

Applies to

See also