Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens document at the given local file path with the default editor for that document.
If the path represents local file path of a remote file and can be converted to
remote URI via ConvertLocalUriToRemoteUriAsync(Uri, CancellationToken),
the remote file will be downloaded and opened.
Opens document at the given documentUri.
If the document is already open, its document frame is activated and openDocumentOptions are applied.
If the documentUri represents local file path of a remote file and can be converted to
remote URI via ConvertLocalUriToRemoteUriAsync(Uri, CancellationToken),
the remote file will be downloaded and opened.
If the document is already open, openDocumentOptions are applied to that already open document instead
(for example Selection).
Opens document at the given local file path with an editor selected by the user.
If the path represents local file path of a remote file and can be converted to
remote URI via ConvertLocalUriToRemoteUriAsync(Uri, CancellationToken),
the remote file will be downloaded and opened.