HttpHeaders.TryGetValues(String, IEnumerable<String>) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果指定的标头和指定的值存储在 HttpHeaders 集合中,则返回。
public:
 bool TryGetValues(System::String ^ name, [Runtime::InteropServices::Out] System::Collections::Generic::IEnumerable<System::String ^> ^ % values);public bool TryGetValues (string name, out System.Collections.Generic.IEnumerable<string> values);public bool TryGetValues (string name, out System.Collections.Generic.IEnumerable<string>? values);member this.TryGetValues : string * seq -> boolPublic Function TryGetValues (name As String, ByRef values As IEnumerable(Of String)) As Boolean参数
- name
- String
指定的标头。
- values
- IEnumerable<String>
指定的标头值。
返回
              true 如果指定的标头 name 和 values 存储在集合中,则为 ;否则为 false。