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 命名空間