MSApp object
Provides helper functions that enable you to create such things as Blob and MSStream objects.
Syntax
var result = MSApp.member;
Members
The MSApp object has these types of members:
Methods
The MSApp object has these methods.
| Method | Description |
|---|---|
| addPublicLocalApplicationUri |
Specifies local context URIs for the zone elevation that is allowed. |
| createBlobFromRandomAccessStream | |
| createDataPackage |
Converts the user’s or the applications’s specified range to an HTML fragment that can be shared. |
| createDataPackageFromSelection |
Converts the user’s or the applications’s selection to an HTML fragment that can be shared. |
| createFileFromStorageFile |
Converts a standard W3CFile object to its WinRT equivalent |
| createStreamFromInputStream |
Creates an MSStream from an InputStream. |
| execUnsafeLocalFunction |
Disables script injection validation for the passed function within the local context. |
| getHtmlPrintDocumentSource |
Returns the source content for the content to be printed. |
| terminateApp |
Terminates the current application and generates a failure report. |
Remarks
The MSApp object is supported only for Windows Store apps built for Windows using JavaScript.
Build date: 11/27/2012