HttpHeaders.Contains(String) 方法

定義

如果集合中有特定標頭, HttpHeaders 則傳回 。

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

參數

name
String

特定的標頭。

傳回

true 如果集合中存在指定的標頭,則為 ;否則 false為 。

適用於