HttpHeaders.GetValues(String) 方法
定义
返回存储于 HttpHeaders 集合中的指定标头的所有标头值。Returns all header values for a specified header stored in the HttpHeaders collection.
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
要为其返回值的指定标头。The specified header to return values for.
返回
标头字符串数组。An array of header strings.
例外
找不到标头。The header cannot be found.