| AkCommonQueryReplace Method (String, Object, Boolean) |
替换当前请求的查询字符串中若干键值, 并返回新字符串(不含 "?" 首字符)。
如果要替换的键并不存在, 则添加进去。
Namespace: Appkit.CommonAssembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static string QueryReplace(
string[] replaceKeys,
Object[] replaceValues,
bool encode
)
Parameters
- replaceKeys
- Type: SystemString
键名称集合。 - replaceValues
- Type: SystemObject
键值集合。 - encode
- Type: SystemBoolean
是否编码。
Return Value
Type:
String替换处理后的新字符串。
See Also