Summary
Checks if an asset with the specified URI exists.
- Namespace
- Avalonia
.Platform - Containing Type
- IAssetLoader
Syntax
bool Exists(Uri uri, Uri baseUri = null)
Parameters
Name | Type | Description |
---|---|---|
uri | Uri | The URI. |
baseUri | Uri | A base URI to use if uri is relative. |
Return Value
Type | Description |
---|---|
bool | True if the asset could be found; otherwise false. |