HttpHeaders.Remove(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除集合中指定的標頭 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
要從集合中移除的標頭名稱。
傳回
true 若 name 成功移除;否則, false。 若 false 未在集合name中找到 HttpHeaders 或 為 ,name此方法也會回傳 null 。