URLHelperMergeQueryStrings Method |
Merges two query strings. Query string parameters should (but don't have to) start with question mark
but they definitely must omit path part of URL.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static string MergeQueryStrings(
string originalQuery,
string newQuery,
bool preferOriginal
)
Parameters
- originalQuery
- Type: SystemString
Query string to be merged with newQuery parameter. - newQuery
- Type: SystemString
Query string to be merged with originalQuery parameter. - preferOriginal
- Type: SystemBoolean
If true, parameters from originalQuery takes first priority
Return Value
Type:
String
See Also