Converts to a URL-style string.

All values will be correctly URL encoded.

Syntax

ISKeyValueList.ToUrlString([omitEmptyItems], [encodeForWebApi], [encodeWebApiDateTimeAsUtc], [hideEncryptedValues])

Parameters

NameTypeOptionalByRefDescription
omitEmptyItems Boolean Optional Indicates whether to omit Empty Items, e.g., Dates and String that are blank. If omitted, a value of False is assumed.
encodeForWebApi Boolean Optional Indicates whether to encode certain values, e.g., Dates so that they are compatible with Microsoft Web API requests, i.e., in ISO 8601 format. If omitted, a value of False is assumed.
encodeWebApiDateTimeAsUtc Boolean Optional Indicates whether to encode Web API dates which include a time portion as a UTC date, i.e., include a 'Z' on the end. Note that this will not convert dates based on their 'Kind', it will simply format them as UTC. If omitted, a value of False is assumed.
hideEncryptedValues Boolean Optional If omitted, a value of False is assumed.

Return Value

String

A String value.

Member of:
ISKeyValueList
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0