HttpHeaders.Remove(String) 方法

定義

HttpHeaders 集合中移除指定的標頭。Removes the specified header from the HttpHeaders collection.

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

要從集合中移除的標頭名稱。The name of the header to remove from the collection.

傳回

傳回 BooleanReturns Boolean.

適用於