Sdílet prostřednictvím


StringWithQualityHeaderValue.TryParse Metoda

Definice

Přetížení

TryParse(StringSegment, StringWithQualityHeaderValue)

Pokusí se parsovat zadaný input jako StringWithQualityHeaderValue.

TryParse(String, StringWithQualityHeaderValue)

TryParse(StringSegment, StringWithQualityHeaderValue)

Zdroj:
StringWithQualityHeaderValue.cs
Zdroj:
StringWithQualityHeaderValue.cs
Zdroj:
StringWithQualityHeaderValue.cs

Pokusí se parsovat zadaný input jako 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

Parametry

input
StringSegment

Hodnota, která se má analyzovat.

parsedValue
StringWithQualityHeaderValue

Analyzovaná hodnota.

Návraty

true pokud je vstup platný StringWithQualityHeaderValue, v opačném případě false.

Platí pro

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

Parametry

input
String

Návraty

Platí pro