HttpHeaders.TryGetValues(String, IEnumerable<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return if a specified header and specified values are stored in the HttpHeaders collection.
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 -> bool
Public Function TryGetValues (name As String, ByRef values As IEnumerable(Of String)) As Boolean
Parameters
- name
- String
The specified header.
- values
- IEnumerable<String>
The specified header values.
Returns
true
if the specified header name
and values
are stored in the collection; otherwise false
.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.