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>
參數
- filePath
類型:System.String
傳回值
類型:System.Threading.Tasks.Task<ExternalStorageFile>
版本資訊
適用於 Windows Phone 應用程式的 .NET
支援版本:Windows Phone 8、Silverlight 8.1
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。