DataUrlInfoTryAsText Method

Tries to retrieve the text, which is embedded in the "data" URL.

Definition

Namespace: FolkerKinzel.DataUrls
Assembly: FolkerKinzel.DataUrls (in FolkerKinzel.DataUrls.dll) Version: 1.0.0+b1c843815044ca6fd87a144c9ff16386002c6473
C#
public bool TryAsText(
	out string?? text
)

Parameters

text  String
If the method returns true, the parameter contains the embedded text. The parameter is passed uninitialized.

Return Value

Boolean
true if the embedded Data could be converted to a String, otherwise false.

Remarks

The method succeeds only if the DataType property returns Text.

Use this method if you are only interested in a specific text that may be embedded in the "data" URL.

See Also