Share via


ProductInfoHeaderValue.TryParse(String, ProductInfoHeaderValue) Methode

Definition

Bestimmt, ob eine Zeichenfolge eine gültige ProductInfoHeaderValue-Information ist.

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

Parameter

input
String

Die zu überprüfende Zeichenfolge.

parsedValue
ProductInfoHeaderValue

Die ProductInfoHeaderValue-Version der Zeichenfolge.

Gibt zurück

true, wenn input eine gültige ProductInfoHeaderValue-Information ist; andernfalls false.

Gilt für: