IHttpHeaderContains(String, String, Boolean) 方法
判断指定键的值是否等于指定值。
命名空间: TouchSocket.Http程序集: TouchSocket.Http (在 TouchSocket.Http.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
bool Contains(
string key,
string value,
bool ignoreCase = true
)
Function Contains (
key As String,
value As String,
Optional ignoreCase As Boolean = true
) As Boolean
abstract Contains :
key : string *
value : string *
?ignoreCase : bool
(* Defaults:
let _ignoreCase = defaultArg ignoreCase true
*)
-> bool
- key String
- 要检查的键。
- value String
- 要匹配的值。
- ignoreCase Boolean (Optional)
- 是否忽略大小写,默认为。
Boolean如果存在指定键且值匹配则返回
,否则返回
。