ExternalStorageDevice.GetFileAsync 方法

命名空间:  Microsoft.Phone.Storage
程序集:  Microsoft.Phone(在 Microsoft.Phone.dll 中)

语法

声明
Public Function GetFileAsync ( _
    filePath As String _
) As Task(Of ExternalStorageFile)
public Task<ExternalStorageFile> GetFileAsync(
    string filePath
)
public:
Task<ExternalStorageFile^>^ GetFileAsync(
    String^ filePath
)
member GetFileAsync : 
        filePath:string -> Task<ExternalStorageFile> 

参数

返回值

类型:System.Threading.Tasks.Task<ExternalStorageFile>

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

请参阅

参考

ExternalStorageDevice 类

Microsoft.Phone.Storage 命名空间