public virtual NPromise<bool> LoadFromUriAsync( NUri uri, System.bool reportErrors, System.bool askToSaveChanges )
Parameters
- uri
- uri from which to load the view document
- reportErrors
- whether errors should be reported to the user
- askToSaveChanges
- whether the user should be prompted to save changes to the document, if it is modified
Return Value
a promise which resolves to true, if document was successfully loaded, otherwise false