IStorageItemInformation IStorageItemInformation IStorageItemInformation IStorageItemInformation IStorageItemInformation Interface

Definition

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

public : interface IStorageItemInformation
struct winrt::Windows::Storage::BulkAccess::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 BasicProperties

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

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

The basic properties object.

DocumentProperties 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; }
DocumentProperties DocumentProperties();
public DocumentProperties DocumentProperties { get; }
Public ReadOnly Property DocumentProperties As DocumentProperties
var documentProperties = iStorageItemInformation.documentProperties;

ImageProperties 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; }
ImageProperties ImageProperties();
public ImageProperties ImageProperties { get; }
Public ReadOnly Property ImageProperties As ImageProperties
var imageProperties = iStorageItemInformation.imageProperties;
Value
ImageProperties ImageProperties ImageProperties

The image properties.

MusicProperties 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; }
MusicProperties MusicProperties();
public MusicProperties MusicProperties { get; }
Public ReadOnly Property MusicProperties As MusicProperties
var musicProperties = iStorageItemInformation.musicProperties;
Value
MusicProperties MusicProperties MusicProperties

The music properties.

Thumbnail Thumbnail Thumbnail Thumbnail Thumbnail

Gets the thumbnail associated with the item.

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

VideoProperties 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; }
VideoProperties VideoProperties();
public VideoProperties VideoProperties { get; }
Public ReadOnly Property VideoProperties As VideoProperties
var videoProperties = iStorageItemInformation.videoProperties;
Value
VideoProperties VideoProperties VideoProperties

The video properties.

Events

PropertiesUpdated PropertiesUpdated PropertiesUpdated PropertiesUpdated PropertiesUpdated

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

public : event TypedEventHandler PropertiesUpdated<IStorageItemInformation, object>
// Register
event_token PropertiesUpdated(TypedEventHandler<IStorageItemInformation, object> const& handler) const;

// Revoke with event_token
void PropertiesUpdated(event_token const& cookie) const;

// Revoke with event_revoker
PropertiesUpdated_revoker PropertiesUpdated(auto_revoker_t, TypedEventHandler<IStorageItemInformation, object> const& handler) const;
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 ThumbnailUpdated

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

public : event TypedEventHandler ThumbnailUpdated<IStorageItemInformation, object>
// Register
event_token ThumbnailUpdated(TypedEventHandler<IStorageItemInformation, object> const& handler) const;

// Revoke with event_token
void ThumbnailUpdated(event_token const& cookie) const;

// Revoke with event_revoker
ThumbnailUpdated_revoker ThumbnailUpdated(auto_revoker_t, TypedEventHandler<IStorageItemInformation, object> const& handler) const;
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);