Dela via


IStorageFolder2 Interface

Definition

Manipulates folders and their contents, and provides information about them.

Important

If you simply want to work with folders in your app, see the StorageFolder class.

public interface class IStorageFolder2
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3894929593, 2265, 19086, 160, 172, 254, 94, 211, 203, 187, 211)]
struct IStorageFolder2
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3894929593, 2265, 19086, 160, 172, 254, 94, 211, 203, 187, 211)]
public interface IStorageFolder2
Public Interface IStorageFolder2
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Important

If you simply want to work with folders in your app, see the StorageFolder class.

Methods

TryGetItemAsync(String)

Try to get a single file or sub-folder from the current folder by using the name of the item.

Applies to

See also