WarningHeaderValue.TryParse(String, WarningHeaderValue) Metoda

Definicja

Określa, czy ciąg jest prawidłowymi WarningHeaderValue informacjami.

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

Parametry

input
String

Ciąg do sprawdzania poprawności.

parsedValue
WarningHeaderValue

Wersja WarningHeaderValue ciągu.

Zwraca

truejeśli input są prawidłowe WarningHeaderValue informacje; w przeciwnym razie . false

Dotyczy