DataUrlInfoTryAsText Method
Tries to retrieve the text, which is embedded in the "data" URL.
Namespace: FolkerKinzel.DataUrlsAssembly: FolkerKinzel.DataUrls (in FolkerKinzel.DataUrls.dll) Version: 1.0.0+b1c843815044ca6fd87a144c9ff16386002c6473
public bool TryAsText(
out string?? text
)
Public Function TryAsText (
<OutAttribute> ByRef text As String
) As Boolean
public:
bool TryAsText(
[OutAttribute] String^% text
)
member TryAsText :
text : string byref -> bool
- text String
- If the method returns true, the parameter contains
the embedded text. The parameter is passed uninitialized.
Booleantrue if the embedded
Data could
be converted to a
String, otherwise
false.
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.