Skip to main content
IStorageItem2 interface

Manipulates storage items (files and folders) and their contents, and provides information about them.

Note  If you simply want to work with files and folders in your app, see the StorageFile and StorageFolder classes.

Syntax


public interface IStorageItem2 : IStorageItem

Public Interface IStorageItem2 
    Inherits IStorageItem

public interface class IStorageItem2 : IStorageItem

Members

The IStorageItem2 interface has these types of members:

Methods

The IStorageItem2 interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetParentAsync Gets the parent folder of the current storage item.
IsEqual Indicates whether the current item is the same as the specified item.

 

Remarks

Note  If you simply want to work with files and folders in your app, see the StorageFile and StorageFolder classes.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Attributes

[ Version(0x06030000)]

See also

IStorageItem