Exists Method
Checks if an asset with the specified URI exists.
Definition
Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public bool Exists(
Uri uri,
Uri? baseUri = null
)
Public Function Exists (
uri As Uri,
Optional baseUri As Uri = Nothing
) As Boolean
abstract Exists :
uri : Uri *
?baseUri : Uri
(* Defaults:
let _baseUri = defaultArg baseUri null
*)
-> bool
override Exists :
uri : Uri *
?baseUri : Uri
(* Defaults:
let _baseUri = defaultArg baseUri null
*)
-> bool
Parameters
Return Value
Boolean
True if the asset could be found; otherwise false.