GDStorageFileGetFileFromPathAsync Method |
Namespace: GD
public static IAsyncOperation<GDStorageFile> GetFileFromPathAsync( string path )
The path of the file to get a GDStorageFile to represent.
If your path uses slashes (/), this method will replace them with backslashes (\).
Exception | Condition |
---|---|
AccessDeniedException | (C# equivalent: System.UnauthorizedAccessException) Secure storage was remotely wiped. |
Exception | (C# equivalent: System.IO.FileNotFoundException) File could not be found. HResult ERROR_FILE_NOT_FOUND. |