Bewerken

Share via


RangeHeaderValue.TryParse(String, RangeHeaderValue) Method

Definition

Determines whether a string is valid RangeHeaderValue information.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::RangeHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.RangeHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.RangeHeaderValue? parsedValue);
static member TryParse : string * RangeHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As RangeHeaderValue) As Boolean

Parameters

input
String

he string to validate.

parsedValue
RangeHeaderValue

The RangeHeaderValue version of the string.

Returns

true if input is valid AuthenticationHeaderValue information; otherwise, false.

Applies to