TXDataTypeConverter.UrlToValue Method
Converts a URL literal to a value.
Remarks
Raises EConvertFromUrlError if the literal cannot be converted.
Syntax
Unit: XData.Model.Classes
function TXDataTypeConverter.UrlToValue(const Literal: string; const PropName: string): TValue;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Literal | string | The URL literal to convert. |
| const | PropName | string | The name of the property or parameter, used only in error messages. |
Returns
The value represented by the literal.