StorageFile.GetParentAsync 方法

定义

获取当前文件的父文件夹。

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)

返回

此方法完成后,它会以 StorageFolder 的形式返回父文件夹。

实现

属性

适用于