RangeConditionHeaderValue.TryParse 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.
Overloads
TryParse(StringSegment, RangeConditionHeaderValue) |
Attempts to parse the specified |
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
- parsedValue
- RangeConditionHeaderValue