DataUrl.IsDataUrl Method

Definition

Overloads

Name Description
IsDataUrl(String)

Determines whether the specified string is a base64 data URL.

IsDataUrl(Uri)

Determines whether the specified Uri is a base64 data URL.

IsDataUrl(String)

Source:
DataUrl.cs

Determines whether the specified string is a base64 data URL.

public static bool IsDataUrl(string? value);
static member IsDataUrl : string -> bool
Public Shared Function IsDataUrl (value As String) As Boolean

Parameters

value
String

The string to check.

Returns

true if value starts with data:; otherwise, false.

Applies to

IsDataUrl(Uri)

Source:
DataUrl.cs

Determines whether the specified Uri is a base64 data URL.

public static bool IsDataUrl(Uri? uri);
static member IsDataUrl : Uri -> bool
Public Shared Function IsDataUrl (uri As Uri) As Boolean

Parameters

uri
Uri

The URI to check.

Returns

true if uri uses the data: scheme; otherwise, false.

Applies to