HttpHeadersNonValidated.TryGetValues(String, HeaderStringValues) 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.
Attempts to retrieve the values associated with the specified header name.
public:
bool TryGetValues(System::String ^ headerName, [Runtime::InteropServices::Out] System::Net::Http::Headers::HeaderStringValues % values);
public bool TryGetValues (string headerName, out System.Net.Http.Headers.HeaderStringValues values);
member this.TryGetValues : string * HeaderStringValues -> bool
Public Function TryGetValues (headerName As String, ByRef values As HeaderStringValues) As Boolean
Parameters
- headerName
- String
The name of the header.
- values
- HeaderStringValues
The retrieved header values.
Returns
true
if the collection contains the specified header; otherwise, false
.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.