Udostępnij za pośrednictwem


StorageFolder.GetParentAsync Method

Definition

Gets the parent folder of the current folder.

public:
 virtual IAsyncOperation<StorageFolder ^> ^ GetParentAsync() = GetParentAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageFolder> GetParentAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageFolder> GetParentAsync();
function getParentAsync()
Public Function GetParentAsync () As IAsyncOperation(Of StorageFolder)

Returns

When this method completes, it returns the parent folder as a StorageFolder.

Implements

Attributes

Applies to