Open Method
Opens the asset with the requested URI.
Definition
Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Stream Open(
Uri uri,
Uri? baseUri = null
)
Public Function Open (
uri As Uri,
Optional baseUri As Uri = Nothing
) As Stream
abstract Open :
uri : Uri *
?baseUri : Uri
(* Defaults:
let _baseUri = defaultArg baseUri null
*)
-> Stream
override Open :
uri : Uri *
?baseUri : Uri
(* Defaults:
let _baseUri = defaultArg baseUri null
*)
-> Stream
Parameters
Return Value
Stream
A stream containing the asset contents.
Implements
IAssetLoader.Open(Uri, Uri)Exceptions
FileNotFoundException | The asset could not be found. |