Freigeben über


StringWithQualityHeaderValue.TryParse Methode

Definition

Überlädt

TryParse(StringSegment, StringWithQualityHeaderValue)

Versucht, das angegebene input als zu StringWithQualityHeaderValueanalysieren.

TryParse(String, StringWithQualityHeaderValue)

TryParse(StringSegment, StringWithQualityHeaderValue)

Quelle:
StringWithQualityHeaderValue.cs
Quelle:
StringWithQualityHeaderValue.cs
Quelle:
StringWithQualityHeaderValue.cs

Versucht, das angegebene input als zu StringWithQualityHeaderValueanalysieren.

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

Parameter

input
StringSegment

Der zu analysierende Wert.

parsedValue
StringWithQualityHeaderValue

Der analysierte Wert.

Gibt zurück

true , wenn die Eingabe gültig StringWithQualityHeaderValueist, andernfalls false.

Gilt für:

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

Parameter

input
String

Gibt zurück

Gilt für: