HttpHeaders.GetValues(String) 方法

定義

傳回 HttpHeaders 集合中儲存之指定標頭的所有標頭值。

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ GetValues(System::String ^ name);
public System.Collections.Generic.IEnumerable<string> GetValues (string name);
member this.GetValues : string -> seq<string>
Public Function GetValues (name As String) As IEnumerable(Of String)

參數

name
String

要傳回值的指定標頭。

傳回

標頭字串的陣列。

例外狀況

找不到標頭。

適用於