IStorageItem.GetBasicPropertiesAsync 方法

定义

获取当前项的基本属性, (如文件或文件夹) 。

public:
 IAsyncOperation<BasicProperties ^> ^ GetBasicPropertiesAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<BasicProperties> GetBasicPropertiesAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<BasicProperties> GetBasicPropertiesAsync();
function getBasicPropertiesAsync()
Public Function GetBasicPropertiesAsync () As IAsyncOperation(Of BasicProperties)

返回

此方法成功完成后,会将当前项的基本属性作为 BasicProperties 对象返回。

属性

适用于