Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AccessListEntry structure

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

Syntax


var accessListEntry = {
    metadata : /* Your value */,
    token : /* Your value */
}

Members

The AccessListEntry structure has these fields.

FieldData typeDescription
Metadata | metadata

String [JavaScript] | System.String [.NET] | Platform::String [C++]

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

Token | token

String [JavaScript] | System.String [.NET] | Platform::String [C++]

The identifier of the StorageFile or StorageFolder in the list.

 

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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.AccessCache
Windows::Storage::AccessCache [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.AccessCache
Windows::Storage::AccessCache [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

AccessListEntryView.First
AccessListEntryView.GetAt
ItemRemovedEventArgs.RemovedEntry
StorageItemAccessList
StorageItemAccessList.Add
StorageItemAccessList.AddOrReplace
StorageItemMostRecentlyUsedList
StorageItemMostRecentlyUsedList.Add
StorageItemMostRecentlyUsedList.AddOrReplace

 

 

Show:
© 2015 Microsoft