Table of Contents

Class StorageItemProperties

Namespace
Avalonia.Platform.Storage
Assembly
Avalonia.Base.dll

Provides access to the content-related properties of an item (like a file or folder).

public class StorageItemProperties
Inheritance
StorageItemProperties
Inherited Members

Constructors

StorageItemProperties(ulong?, DateTimeOffset?, DateTimeOffset?)

public StorageItemProperties(ulong? size = null, DateTimeOffset? dateCreated = null, DateTimeOffset? dateModified = null)

Parameters

size ulong?
dateCreated DateTimeOffset?
dateModified DateTimeOffset?

Properties

DateCreated

Gets the date and time that the current folder was created.

public DateTimeOffset? DateCreated { get; }

Property Value

DateTimeOffset?

Remarks

Can be null if property is not available.

DateModified

Gets the date and time of the last time the file was modified.

public DateTimeOffset? DateModified { get; }

Property Value

DateTimeOffset?

Remarks

Can be null if property is not available.

Size

Gets the size of the file in bytes.

public ulong? Size { get; }

Property Value

ulong?

Remarks

Can be null if property is not available.