ProductHeaderValue.TryParse(String, ProductHeaderValue) Metoda

Definicja

Określa, czy ciąg jest prawidłowy ProductHeaderValue .

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

Parametry

input
String

Ciąg do sprawdzania poprawności.

parsedValue
ProductHeaderValue

Wersja ProductHeaderValue ciągu.

Zwraca

true jeśli input są prawidłowe ProductHeaderValue informacje; w przeciwnym razie false.

Dotyczy