Skip to main content

StorageItemProperties Class

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

Definition​

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class StorageItemProperties
View Source
InheritanceObject → StorageItemProperties

Constructors​

StorageItemProperties(Nullable(UInt64), Nullable(DateTimeOffset), Nullable(DateTimeOffset))Initializes a new instance of the StorageItemProperties class

Properties​

DateCreatedGets the date and time that the current folder was created.
DateModifiedGets the date and time of the last time the file was modified.
SizeGets the size of the file in bytes.

Methods​

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also​

Reference​

Avalonia.Platform.Storage Namespace