Partager via


StringWithQualityHeaderValue.TryParse Méthode

Définition

Surcharges

TryParse(StringSegment, StringWithQualityHeaderValue)

Tente d’analyser le spécifié input en tant StringWithQualityHeaderValueque .

TryParse(String, StringWithQualityHeaderValue)

TryParse(StringSegment, StringWithQualityHeaderValue)

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

Tente d’analyser le spécifié input en tant StringWithQualityHeaderValueque .

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

Paramètres

input
StringSegment

Valeur à analyser.

parsedValue
StringWithQualityHeaderValue

Valeur analysée.

Retours

true si l’entrée est valide StringWithQualityHeaderValue, sinon false.

S’applique à

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

Paramètres

input
String

Retours

S’applique à