ProductHeaderValue.TryParse(String, ProductHeaderValue) Methode

Definition

Bestimmt, ob eine Zeichenfolge gültige ProductHeaderValue Informationen ist.

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

Parameter

input
String

Die zu überprüfende Zeichenfolge.

parsedValue
ProductHeaderValue

Die ProductHeaderValue Version der Zeichenfolge.

Gibt zurück

true wenn input gültige Informationen vorhanden ProductHeaderValue sind; falseandernfalls .

Gilt für: