IStorageItemInformation IStorageItemInformation IStorageItemInformation IStorageItemInformation Interface

Definition

Provides synchronous access to the properties of a file or folder in the file system.

public : interface IStorageItemInformation
public interface IStorageItemInformation
Public Interface IStorageItemInformation
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

BasicProperties BasicProperties BasicProperties BasicProperties

Gets an object that contains the basic properties information of the item.

public : BasicProperties BasicProperties { get; }
public BasicProperties BasicProperties { get; }
Public ReadOnly Property BasicProperties As BasicProperties
var basicProperties = iStorageItemInformation.basicProperties;
Value
BasicProperties BasicProperties BasicProperties BasicProperties

The basic properties object.

DocumentProperties DocumentProperties DocumentProperties DocumentProperties

Gets an object that provides access to the document properties of the item, such as the title, author name, and so on.

public : DocumentProperties DocumentProperties { get; }
public DocumentProperties DocumentProperties { get; }
Public ReadOnly Property DocumentProperties As DocumentProperties
var documentProperties = iStorageItemInformation.documentProperties;

ImageProperties ImageProperties ImageProperties ImageProperties

Gets an object that provides access to the image properties of the item, such as the title, rating, date that the image was taken, and so on.

public : ImageProperties ImageProperties { get; }
public ImageProperties ImageProperties { get; }
Public ReadOnly Property ImageProperties As ImageProperties
var imageProperties = iStorageItemInformation.imageProperties;

MusicProperties MusicProperties MusicProperties MusicProperties

Gets an object that provides access to the music properties of the item, such as the album name, artist name, bit rate, and so on.

public : MusicProperties MusicProperties { get; }
public MusicProperties MusicProperties { get; }
Public ReadOnly Property MusicProperties As MusicProperties
var musicProperties = iStorageItemInformation.musicProperties;

Thumbnail Thumbnail Thumbnail Thumbnail

Gets the thumbnail associated with the item.

public : StorageItemThumbnail Thumbnail { get; }
public StorageItemThumbnail Thumbnail { get; }
Public ReadOnly Property Thumbnail As StorageItemThumbnail
var storageItemThumbnail = iStorageItemInformation.thumbnail;

VideoProperties VideoProperties VideoProperties VideoProperties

Gets an object that provides access to the video properties of the item, such as the duration, rating, date released, and so on.

public : VideoProperties VideoProperties { get; }
public VideoProperties VideoProperties { get; }
Public ReadOnly Property VideoProperties As VideoProperties
var videoProperties = iStorageItemInformation.videoProperties;

Events

PropertiesUpdated PropertiesUpdated PropertiesUpdated PropertiesUpdated

Occurs when one or more of the item's properties is updated.

public : event TypedEventHandler PropertiesUpdated<IStorageItemInformation, object>
public event TypedEventHandler PropertiesUpdated<IStorageItemInformation, object>
Public Event TypedEventHandler PropertiesUpdated( Of ( Of IStorageItemInformation ), ( Of object ))
function onPropertiesUpdated(eventArgs){/* Your code */}


iStorageItemInformation.addEventListener("propertiesUpdated", onPropertiesUpdated);
iStorageItemInformation.removeEventListener("propertiesUpdated", onPropertiesUpdated);

ThumbnailUpdated ThumbnailUpdated ThumbnailUpdated ThumbnailUpdated

Fires when the item's thumbnail is updated or a better quality thumbnail is available.

public : event TypedEventHandler ThumbnailUpdated<IStorageItemInformation, object>
public event TypedEventHandler ThumbnailUpdated<IStorageItemInformation, object>
Public Event TypedEventHandler ThumbnailUpdated( Of ( Of IStorageItemInformation ), ( Of object ))
function onThumbnailUpdated(eventArgs){/* Your code */}


iStorageItemInformation.addEventListener("thumbnailUpdated", onThumbnailUpdated);
iStorageItemInformation.removeEventListener("thumbnailUpdated", onThumbnailUpdated);