获取通过Get或Post或Cookie传递的参数,此方法不会返回null
Namespace: Adf.WebAssembly: Adf.Web (in Adf.Web.dll) Version: 4.1.5463.29815
Syntaxpublic static string Gpc(
string name,
string defaultValue = ""
)
Public Shared Function Gpc (
name As String,
Optional defaultValue As String = ""
) As String
public:
static String^ Gpc(
String^ name,
String^ defaultValue = L""
)
static member Gpc :
name : string *
?defaultValue : string
(* Defaults:
let _defaultValue = defaultArg defaultValue ""
*)
-> string
Parameters
- name
- Type: SystemString
参数名称 - defaultValue (Optional)
- Type: SystemString
未找到时的默认值
Return Value
Type:
String[Missing <returns> documentation for "M:Adf.Web.QueryHelper.Gpc(System.String,System.String)"]
See Also