ExternalStorageDevice.GetFileAsync Method
Namespace: Microsoft.Phone.Storage
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
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>
Parameters
- filePath
Type: System.String
Return Value
Type: System.Threading.Tasks.Task<ExternalStorageFile>
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.