createFileFromStorageFile method

Converts a standard World Wide Web Consortium (W3C)File object to its WinRT equivalent StorageFile.

Internet Explorer 10

 

Syntax

var retVal = MSApp.createFileFromStorageFile(storageFile);

Parameters

storageFile [in]

Type: any

Exceptions

ExceptionCondition
TypeMismatchError

The specified W3C file reference is invalid. For versions earlier than Internet Explorer 10, TYPE_MISMATCH_ERR is returned.

 

See also

MSApp

 

 

Show: