HttpHeaders.Remove(String) 方法

定義

移除集合中指定的標頭 HttpHeaders

public:
 bool Remove(System::String ^ name);
public bool Remove(string name);
member this.Remove : string -> bool
Public Function Remove (name As String) As Boolean

參數

name
String

要從集合中移除的標頭名稱。

傳回

truename 成功移除;否則, false。 若 false 未在集合name中找到 HttpHeaders 或 為 ,name此方法也會回傳 null

適用於