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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.