Share via


StringWithQualityHeaderValue.TryParse Method

Definition

Overloads

TryParse(StringSegment, StringWithQualityHeaderValue)

Attempts to parse the specified input as a StringWithQualityHeaderValue.

TryParse(String, StringWithQualityHeaderValue)

TryParse(StringSegment, StringWithQualityHeaderValue)

Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs

Attempts to parse the specified input as a StringWithQualityHeaderValue.

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

Parameters

input
StringSegment

The value to parse.

parsedValue
StringWithQualityHeaderValue

The parsed value.

Returns

true if input is a valid StringWithQualityHeaderValue, otherwise false.

Applies to

TryParse(String, StringWithQualityHeaderValue)

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

Parameters

input
String

Returns

Applies to