Dela via


RangeConditionHeaderValue.TryParse Method

Definition

Overloads

TryParse(StringSegment, RangeConditionHeaderValue)

Attempts to parse the specified input as a RangeConditionHeaderValue.

TryParse(String, RangeConditionHeaderValue)

TryParse(StringSegment, RangeConditionHeaderValue)

Source:
RangeConditionHeaderValue.cs
Source:
RangeConditionHeaderValue.cs
Source:
RangeConditionHeaderValue.cs

Attempts to parse the specified input as a RangeConditionHeaderValue.

public:
 static bool TryParse(Microsoft::Extensions::Primitives::StringSegment input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::RangeConditionHeaderValue ^ % parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.RangeConditionHeaderValue parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.RangeConditionHeaderValue? parsedValue);
static member TryParse : Microsoft.Extensions.Primitives.StringSegment * RangeConditionHeaderValue -> bool
Public Shared Function TryParse (input As StringSegment, ByRef parsedValue As RangeConditionHeaderValue) As Boolean

Parameters

input
StringSegment

The value to parse.

parsedValue
RangeConditionHeaderValue

The parsed value.

Returns

true if input is a valid RangeConditionHeaderValue, otherwise false.

Applies to

TryParse(String, RangeConditionHeaderValue)

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

Parameters

input
String

Returns

Applies to